repo.or.cz
/
champa.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Fix readme typo.
2024-04-02
David Fif
i
eld
Fix
rea
d
m
e
typo
.
commit
|
commitdiff
|
tree
2023-12-21
Dav
i
d Fifield
Add uTLS t
o
TODO
.
commit
|
commitdiff
|
tree
2022-10-28
David Fifield
Halt pollLoop
when Poll
i
ngP
a
cketConn is closed
.
commit
|
commitdiff
|
tree
2022-10-28
David Fifi
e
ld
Rem
o
v
e
a
n obs
o
lete c
o
mment
.
commit
|
commitdiff
|
tree
2022-10-27
David Fifield
C
ancel any pending polls when
PollingPacketConn is
.
.
.
commit
|
commitdiff
|
tree
2022-02-16
David F
i
f
ield
Let th
e
server terminate
i
f any of its ma
i
n
l
oops exit
s
.
commit
|
commitdiff
|
tree
2022-02-16
David Fifield
Don't terminate noiseLoop when noise
.
AcceptH
a
ndshake
.
.
.
commit
|
commitdiff
|
tree
2022-02-16
David Fifield
Change
a
f
mt
.
Prin
t
f to log
.
Printf
.
commit
|
commitdiff
|
tree
2022-02-15
David Fifield
Remove n
o
i
s
e
.
socket,
now unused
.
commit
|
commitdiff
|
tree
2022-02-15
Dav
i
d Fifield
Server noi
s
e
Loop
.
commit
|
commitdiff
|
tree
2022-02-15
David
Fi
f
ield
Client no
i
sePacketConn
.
commit
|
commitdiff
|
tree
2022-02-15
David Fifield
noi
s
e
.
Ses
s
ion
.
commit
|
commitdiff
|
tree
2022-02-15
David
Fifie
l
d
Use
a version of flynn/n
o
ise
that
h
a
s Set
N
once
.
commit
|
commitdiff
|
tree
2022-02-14
David Fifield
Sl
i
di
n
g replay
w
i
ndo
w
.
commit
|
commitdiff
|
tree
2021-10-16
D
avid
Fifiel
d
Remove obsolete test for POS
T
i
n
decodeRequest
.
commit
|
commitdiff
|
tree
2021-10-05
David
Fifiel
d
A
d
d -privkey
-
f
il
e
/-pubkey-file to usag
e
.
commit
|
commitdiff
|
tree
2021-10-04
David Fifield
Remove a mentio
n
of HTTP from PollingPac
k
etConn
.
commit
|
commitdiff
|
tree
2021-08-04
D
avid Fifiel
d
D
o
n't
log
io
.
ErrClosedP
i
pe from ac
c
e
p
tStreams
.
commit
|
commitdiff
|
tree
2021-08-04
David Fifield
U
s
e err
o
rs
.
Is to compare
a
gainst ErrClosed
P
ipe
.
commit
|
commitdiff
|
tree
2021-08-04
Dav
i
d
F
ifield
Ignore
E
r
r
ClosedP
i
p
e in "copy stream←local/
u
pstream
.
.
.
commit
|
commitdiff
|
tree
2021-08-02
David
F
ifi
e
ld
Remo
v
e
a Noise doc
u
men
t
ation that is
n
o longer releva
n
t
.
commit
|
commitdiff
|
tree
2021-08-02
David Fifield
R
emove
u
n
used pollLimit
.
commit
|
commitdiff
|
tree
2021-08-01
David Fifie
l
d
TODO file
.
commit
|
commitdiff
|
tree
2021-07-19
David
F
ifield
Unif
o
r
m
capi
t
alizati
o
n: Roundtrip → RoundTrip
.
commit
|
commitdiff
|
tree
2021-07-18
Dav
i
d Fifield
Use a bug
s
.
torproject
.
org se
m
i
-perma link
.
commit
|
commitdiff
|
tree
2021-07-18
D
avid Fif
i
eld
Better syn
t
ax
.
commit
|
commitdiff
|
tree
2021-07-05
David Fif
i
e
l
d
go mod tidy
.
commit
|
commitdiff
|
tree
2021-07-05
Da
v
id
F
i
fie
l
d
Update comments to re
f
er to noise
.
GeneratePri
v
k
e
y
.
commit
|
commitdiff
|
tree
2021-07-05
Davi
d
Fifiel
d
Move Initiator out of no
i
se
.
newCon
f
ig
.
commit
|
commitdiff
|
tree
2021-06-30
Davi
d
Fifield
Reduc
e
ma
x
Respons
e
Delay from 1000 ms to
1
0
0 m
s
.
commit
|
commitdiff
|
tree
2021-06-30
Dav
i
d Fifield
Go back to reporting an err
o
r when
2
0
0
w
ith Location
.
.
.
commit
|
commitdiff
|
tree
2021-06-30
David F
i
field
Set the http MaxConnsPer
H
os
t
to 20
.
commit
|
commitdiff
|
tree
2021-06-30
Da
v
id Fifield
Increase turbotunnel queueSize to 256
.
commit
|
commitdiff
|
tree
2021-06-30
David F
i
field
Hig
h
er defaults for smux MaxReceiv
e
Buffer an
d
MaxStreamBuffer
.
commit
|
commitdiff
|
tree
2021-06-30
Dav
i
d
Fifield
Always incl
u
de the first packet in a
b
undle
i
n the
.
.
.
commit
|
commitdiff
|
tree
2021-06-30
D
avid Fif
i
eld
Increase initPollDela
y
f
rom
0
.
5 to
1
.
0 s
.
commit
|
commitdiff
|
tree
2021-06-30
David Fif
i
eld
Giv
e
h
ints
f
or -cac
h
e
a
nd -front in -help
.
commit
|
commitdiff
|
tree
2021-06-30
David Fi
f
i
e
ld
First draft of
R
E
A
DM
E
.
commit
|
commitdiff
|
tree
2021-06-30
David
Fifield
Don't consider the server timer unless both
s
t
a
sh and
.
.
.
commit
|
commitdiff
|
tree
2021-06-30
David Fifield
Remove redundant
c
h
eck for L
o
cat
i
on header
.
commit
|
commitdiff
|
tree
2021-06-30
David Fi
f
iel
d
Rely on SetA
C
KNoDelay
to
do immediate polls for
u
s
.
.
.
commit
|
commitdiff
|
tree
2021-06-28
David
Fifield
Incre
a
se
d
efault send
a
n
d receive windows to 1024
.
commit
|
commitdiff
|
tree
2021-06-24
David Fifield
Remove double output o
f
boile
r
plateEnd
.
commit
|
commitdiff
|
tree
2021-06-24
Da
v
id F
i
fi
e
l
d
Return
an AMP response even i
f
t
he requ
e
st canno
t
be
.
.
.
commit
|
commitdiff
|
tree
2021-06-24
David Fifield
W
e are compilable with
g
o1
.
11 no
w
.
commit
|
commitdiff
|
tree
2021-06-24
D
avid Fifield
Use net/h
t
tp
Re
q
uest
.
WithConte
x
t instead of N
e
wRe
q
u
estWithCo
.
.
.
commit
|
commitdiff
|
tree
2021-06-24
Da
v
i
d
Fifield
Remove referen
c
e to
net/
u
rl URL
.
RawFra
g
m
ent
.
commit
|
commitdiff
|
tree
2021-06-24
David Fifield
Change nois
e
.
GenerateKe
y
pair to noise
.
GeneratePrivk
e
y
.
commit
|
commitdiff
|
tree
2021-06-24
Da
v
id
Fifield
Add a Noise la
y
er to clien
t
and ser
v
er
.
commit
|
commitdiff
|
tree
2021-06-24
Davi
d
Fif
i
el
d
Mak
e
noise
.
NewServer take
only
the private key
.
commit
|
commitdiff
|
tree
2021-06-24
David Fifi
e
ld
Server -gen-key mode
.
commit
|
commitdiff
|
tree
2021-06-24
D
a
vid Fifield
Cop
y
n
o
ise pack
a
ge
.
commit
|
commitdiff
|
tree
2021-06-19
David
F
i
f
ield
Let Po
l
l
i
ngPacket
C
onn know its remo
t
eAddr
.
commit
|
commitdiff
|
tree
2021-06-18
Da
v
id
F
ifi
e
ld
Document that S
e
rv
e
r
.
MaxHeaderBytes has
b
e
e
n
considered
.
commit
|
commitdiff
|
tree
2021-06-18
David Fifield
Add read and write timeouts
t
o the HTTP serv
e
r
.
commit
|
commitdiff
|
tree
2021-06-18
David
F
ifield
Set a
t
ime limi
t
on r
e
quest–response
e
xcha
n
g
e
s
.
commit
|
commitdiff
|
tree
2021-06-18
David
F
ifield
Limit
t
h
e s
i
ze of server resp
o
n
s
e bodie
s
.
commit
|
commitdiff
|
tree
2021-06-18
Davi
d
F
ifi
e
ld
Show a quick fatal error if up
s
tream
c
annot be
p
arse
d
.
.
.
commit
|
commitdiff
|
tree
2021-06-18
David Fi
f
ield
TODO a
b
out optimizing
MTU
.
commit
|
commitdiff
|
tree
2021-06-18
David Fifield
Only sen
d
on
c
.
pollCh
a
n once o
n
data receipt
.
commit
|
commitdiff
|
tree
2021-06-18
Dav
i
d Fifie
l
d
S
e
rver
p
acket
b
atch
i
ng
.
commit
|
commitdiff
|
tree
2021-06-18
David Fif
i
eld
Try pu
t
ting a l
i
mit on p
o
llChan
.
commit
|
commitdiff
|
tree
2021-06-18
Dav
i
d F
i
field
C
lient p
a
cket batching
.
commit
|
commitdiff
|
tree
2021-06-18
David Fi
f
i
eld
C
o
py en
c
aps
u
lation package
.
commit
|
commitdiff
|
tree
2021-06-18
David Fifie
l
d
Use a
buffered reader when
r
eading
f
rom server AMP
.
.
.
commit
|
commitdiff
|
tree
2021-06-18
David F
i
field
Add
a versio
n
indicator to the server
–
client prot
o
col
.
commit
|
commitdiff
|
tree
2021-06-18
D
avid F
i
field
Add
a version indicator to the clien
t
–server pr
o
tocol
.
commit
|
commitdiff
|
tree
2021-06-18
David
F
i
field
C
omment t
y
po
.
commit
|
commitdiff
|
tree
2021-06-18
D
avid Fifield
Activate the a
r
mor TestDecoder test
.
commit
|
commitdiff
|
tree
2021-06-18
David Fif
i
eld
Close respo
n
s
e bodi
e
s
when
done
.
commit
|
commitdiff
|
tree
2021-06-18
David
F
i
f
ield
Reduce smux idle tim
e
out fr
o
m 10 minut
e
s to 2 minutes
.
commit
|
commitdiff
|
tree
2021-06-18
D
a
vid Fifiel
d
Retain tr
a
il
i
ng slash with empty pac
k
et in exchangeAMP
.
commit
|
commitdiff
|
tree
2021-06-18
D
avid
F
ifield
q
u
ick hack to use a
r
mor
commit
|
commitdiff
|
tree
2021-06-18
D
a
vid Fifield
AMP armor
.
commit
|
commitdiff
|
tree
2021-06-18
David Fi
f
ield
R
ou
g
h
i
ng ou
t
champa-client and champa-s
e
rver
.
commit
|
commitdiff
|
tree
2021-05-31
Davi
d
F
i
f
i
eld
Copy turbotunnel
p
ackag
e
.
commit
|
commitdiff
|
tree
2021-05-31
Davi
d
Fifield
UR
L
form
a
t: C
a
cheUR
L
f
unction
.
commit
|
commitdiff
|
tree
2021-05-31
David Fifie
l
d
UR
L
format: dom
a
i
n
prefix
.
commit
|
commitdiff
|
tree