repo.or.cz
/
tor.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Fix whitespace issue.
2017-05-17
Al
e
xander Fær
ø
y
Fix white
s
pace issue
.
commit
|
commitdiff
|
tree
2017-05-17
Alexander Fær
ø
y
Check that t
o
r_compress_state_size() retu
r
ns a value
.
.
.
commit
|
commitdiff
|
tree
2017-05-16
Alex
a
nder Færøy
E
n
sure
t
hat e
a
ch co
m
pression backend r
e
t
urns
a
pro
v
i
d
er
.
.
.
commit
|
commitdiff
|
tree
2017-05-15
A
lexander Færøy
Fix dir_handle_g
e
t/
.
.
.
te
s
t
-cas
e
s for pro
p
#278 suppor
t
.
commit
|
commitdiff
|
tree
2017-05-15
Alex
a
n
d
er Færøy
Han
d
le n
o
n-compr
e
s
sed
requests gracefull
y
.
commit
|
commitdiff
|
tree
2017-05-15
A
l
e
xander Færøy
Remove old
c
onsensus fetc
h
ing code fro
m
h
andle_get_current_c
.
.
.
commit
|
commitdiff
|
tree
2017-05-15
A
l
exander Færøy
Fi
x
too wide line f
r
om
`
make check-spaces
`
.
commit
|
commitdiff
|
tree
2017-05-15
Alexander Færøy
C
heck f
o
r best c
o
n
sensus when no co
n
sensusdiff
w
as
.
.
.
commit
|
commitdiff
|
tree
2017-05-15
Alexand
e
r Færøy
Fetch the current consen
s
us fro
m
the cons
c
ache sub
s
ystem
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Færøy
Add st
u
b functions f
o
r
q
ueryi
n
g me
t
adata about the
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Ale
x
ander Fæ
r
øy
Fix
ta
u
t
o
l
o
gical con
s
t
ant
o
ut-of-ra
n
ge
c
o
mparison warnings
.
commit
|
commitdiff
|
tree
2017-05-12
Alex
a
n
der Færøy
Fix DoubleN
L
warning from `make c
h
eck-spa
c
es`
.
commit
|
commitdiff
|
tree
2017-05-12
Alex
a
nder Færøy
Use differen
t
pref
e
rences for compress
i
on methods when
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexan
d
er Færøy
A
d
d cl
i
ent_meth_pref ar
r
ay to define
client compression
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
A
l
e
xander Færøy
Fix indentatio
n
w
hen using the ter
n
ary o
p
erator in
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Færøy
Use co
m
pressi
o
n
_
method_get_h
u
m
a
n
_name() in
connection_dir_cl
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexande
r
Færøy
Add API for getting human
r
ead
a
ble descriptions
of
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
A
l
exander
F
ærøy
Use
co
m
p
ression_method_get
_
by_name()
i
nstead of
explicit
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander
Færøy
De
c
i
de compression method in the
v
ario
u
s
handl
e
_
* functions()
.
commit
|
commitdiff
|
tree
2017-05-12
A
lexan
d
er Færøy
Se
n
d "Ac
c
ept
-
Encod
i
ng
"
t
o
d
i
rectory servers
.
commit
|
commitdiff
|
tree
2017-05-12
A
l
e
x
and
e
r Færøy
Use
t
or_compress_sup
p
or
t
s
_method() instead
of cons
t
a
n
ts
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Færøy
Handl
e
Zstandard an
d
LZMA in our c
h
e
c
k
f
or correc
t
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Færøy
Handle x-zst
d
a
nd x-tor-lzma
in pars
e
_
h
tt
p
_
r
espo
n
s
e
()
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander
Færøy
Use
d
ir_compresse
d
(_len) instead
o
f dir_z(_len)
.
commit
|
commitdiff
|
tree
2017-05-05
Alexander Færøy
Remove dead c
o
de in test_opt
i
ons_
v
alidate_impl()
.
commit
|
commitdiff
|
tree
2017-05-05
Alexander F
æ
r
ø
y
Fix memory leak f
o
u
n
d
i
n
C
I
D
#14
0
5876
.
commit
|
commitdiff
|
tree
2017-04-27
A
lexand
e
r Færøy
Enforce 16 MB uppe
r
bound of memory usage in L
Z
MA decoder
.
commit
|
commitdiff
|
tree
2017-04-27
Alex
a
nde
r
Færøy
Only compare the fi
r
st 3 byt
e
s when trying to detect
.
.
.
commit
|
commitdiff
|
tree
2017-04-27
A
lexander Færøy
Test
s
upport
for multipl
e
c
o
m
p
ressi
o
n backends i
n
th
e
.
.
.
commit
|
commitdiff
|
tree
2017-04-27
Alexa
n
der Færø
y
C
le
a
n up mentions of 'zlib' and rename the mention
s
.
.
.
commit
|
commitdiff
|
tree
2017-04-27
A
le
x
and
e
r Fæ
r
øy
Refacto
r
co
m
pression t
e
sts into a single
t
e
st
.
commit
|
commitdiff
|
tree
2017-04-26
Alexander Færøy
Approximate memory usage needed
f
or t
h
e Zs
t
and
a
rd back
e
nd
.
commit
|
commitdiff
|
tree
2017-04-26
Ale
x
ander F
æ
r
ø
y
Better
d
o
cumenta
t
i
o
n for `tor_un
c
ompre
s
s()`
.
commit
|
commitdiff
|
tree
2017-04-26
Alexa
n
der Fæ
r
øy
A
pproxima
t
e
m
e
mory usage need
e
d for
the LZMA backend
.
commit
|
commitdiff
|
tree
2017-04-26
A
l
e
x
a
n
d
e
r Færøy
Store compression overhead f
r
o
m
`
tor_compress_state_t`
.
commit
|
commitdiff
|
tree
2017-04-26
Alexander
F
ær
ø
y
Rem
o
ve unus
e
d h
e
ader
f
rom t
h
e Z
s
ta
n
dard compressi
o
n
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
A
lexander Færøy
Add stub functi
o
n for libor-trac
e
.
commit
|
commitdiff
|
tree
2017-04-25
Alexand
e
r F
æ
røy
Rename shadowing variab
l
e in compress_zl
i
b
.
c
.
commit
|
commitdiff
|
tree
2017-04-25
A
l
exander Færøy
F
i
x
n
ewline
s
in
co
m
press
i
on hea
d
er
s
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
R
emov
e
`tor_compress
_
memory_level()`
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Fær
ø
y
Use switch-stat
e
ment in
tor_{com
p
r
e
ss
,
uncompress}
.
commit
|
commitdiff
|
tree
2017-04-25
Ale
x
and
e
r Fær
ø
y
Use
`
t
or
_
c
o
mpress_supports_method()`
b
ef
o
r
e printin
g
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Add AP
I
entry-
p
o
i
n
t fo
r
getti
n
g
comp
r
e
s
si
o
n
m
eth
o
d
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
A
d
d fu
n
ction to check if a give
n
compression m
e
thod
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
A
lexan
d
e
r
Færøy
Add `tor_compress_get_tota
l
_all
o
cation
(
)
`
function
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
D
i
splay
L
ZMA and Zstandard versions w
h
en star
t
ing Tor
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Fær
ø
y
Show liblzma and libzs
t
d versi
o
ns
i
n
`tor
-
-libra
r
y
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
Alexa
n
der Fæ
r
øy
Add Zstan
d
ard suppor
t
.
commit
|
commitdiff
|
tree
2017-04-25
A
l
exander Fæ
r
ø
y
Add --enable-zstd to our
c
onfigu
r
e script
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander F
æ
røy
Add LZMA
s
upport
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Add --enable-lzma to our configure script
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Use a switch-statement when checking for com
p
ressi
o
n
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
Ale
x
ander
F
æ
rø
y
Add `compres
s
_zl
i
b
.
o
b
j`
to `src
/
c
o
mmon/Ma
k
e
f
ile
.
nmake`
.
commit
|
commitdiff
|
tree
2017-04-25
Alexa
n
der Færøy
Rename the `torgzi
p
` module to `compr
e
ss
`
.
commit
|
commitdiff
|
tree
2017-04-25
Alexan
d
e
r
Færøy
Move zlib
compressi
o
n code into it
s
own
module
.
commit
|
commitdiff
|
tree
2017-04-18
Alexander Færøy
Expose
`
tor_compress
_
i
s
_compression_bomb()` as part
.
.
.
commit
|
commitdiff
|
tree
2017-04-18
A
lexander F
æ
røy
Expos
e
`tor_compress_memory_level()
`
as a p
u
blic
func
t
i
o
n
.
.
.
commit
|
commitdiff
|
tree
2017-04-17
Ale
x
and
e
r Fær
ø
y
Rename
`write_to_buf_
z
lib()` to `write_to_buf_compress()`
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander Færøy
Rename
`
z
l
i
b_
s
tate`
t
o `comp
r
ess_
s
tate` in the test_bu
f
fers
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander Færøy
R
ename `zlib_state` to `c
o
mpress_
s
t
ate` in `dir_con
n
ectio
n
_t`
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander Færø
y
Refactor the stre
a
ming compression
code
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander
Færøy
Rename
`t
o
r_gzip_{compress,uncompress}`
t
o
`
t
o
r_{compres
s
.
.
.
commit
|
commitdiff
|
tree
2017-04-17
Alexande
r
Fæ
r
øy
Rename `zlib_compression_level_t` to `
c
ompressi
o
n_
l
eve
l
_t`
.
commit
|
commitdiff
|
tree
2017-04-17
Alexande
r
Færøy
Remove unused f
u
n
c
tion `is_gzip_supported()`
.
commit
|
commitdiff
|
tree
2017-04-17
Alex
a
nder Færøy
Fix whitesp
a
ce
in test
_
util_gzi
p
(
)
a
r
o
und `
O
P
_*``
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander Færøy
Use tt_i
n
t_op
(
) over tt_assert() and do explicit NULL
.
.
.
commit
|
commitdiff
|
tree
2017-03-17
Alexander Fær
ø
y
Check onion key consensu
s
para
m
eters
e
v
ery hour
.
commit
|
commitdiff
|
tree
2017-03-17
Alexander Færøy
Add peri
o
dic timer
f
or e
x
pi
r
ing old onion keys
.
commit
|
commitdiff
|
tree
2017-03-17
Alexander Færøy
Add A
P
I to query the curr
e
nt onion key grace period
.
commit
|
commitdiff
|
tree
2017-03-17
Alexander Færøy
Mak
e
MIN_ONION_KEY_
L
IFETI
M
E a consen
s
u
s
p
a
r
a
m
eter def
i
ned
.
.
.
commit
|
commitdiff
|
tree
2017-03-17
Alexander Færøy
Split strings at
n
ewline in tor_get_li
n
es_fro
m
_
handle()
.
commit
|
commitdiff
|
tree
2017-03-10
Alexa
n
der Færøy
Make MA
X
_DIR_PE
R
IOD
independen
t
of
MIN_
O
NION_KEY_LIFETIME
.
commit
|
commitdiff
|
tree
2017-03-08
Alexande
r
Færøy
Remov
e
fgets
(
) co
m
patbili
t
y function and related tests
.
commit
|
commitdiff
|
tree
2017-03-08
Alex
a
nde
r
Færøy
Use less-t
h
an inst
e
ad of not-equal-to for compari
s
on
.
.
.
commit
|
commitdiff
|
tree
2017-03-08
Alexander Fæ
r
øy
A
d
d te
s
t case fo
r
get_string_from_pipe(
)
.
commit
|
commitdiff
|
tree
2017-03-08
Alexan
d
e
r
Færøy
Remove b
u
ffe
r
e
d
I
/O
stream usage
in proc
e
ss_hand
l
e_t
.
commit
|
commitdiff
|
tree
2017-03-08
Alexander
F
ærøy
Use read(2
)
in
s
te
a
d of
f
g
et
s
(3) when reading process
.
.
.
commit
|
commitdiff
|
tree
2017-03-01
Alexander Færøy
Reset
`
buf`
a
fter each succe
s
ful tes
t
to
avoid artifa
c
ts
.
commit
|
commitdiff
|
tree
2017-03-01
Alexander F
æ
r
øy
Use tor_fget
s
() instead of fge
t
s()
.
commit
|
commitdiff
|
tree
2017-03-01
Alexander Færøy
Add compatibility
f
unc
t
ion for fg
e
ts(3)
.
commit
|
commitdiff
|
tree
2017-02-16
Alexa
n
der Færøy
Save number of
sent/re
c
eiv
e
d RELAY_D
A
TA
cel
l
s
for directory
.
.
.
commit
|
commitdiff
|
tree
2017-02-10
Al
e
xander Færøy
R
e
move unu
s
ed variable
i
n directory_com
m
and_should_use_
b
e
g
in
.
.
.
commit
|
commitdiff
|
tree
2017-02-09
A
lexander Færøy
Change
R
ELAY_BEGINDI
R
to RELAY_BEGIN_DIR in comme
n
ts
.
commit
|
commitdiff
|
tree
2017-02-07
Ale
x
a
n
der Færøy
L
o
g respo
n
se
size in co
n
necti
o
n
_dir_c
l
ient_
r
e
a
ched_eof(
)
commit
|
commitdiff
|
tree
2017-02-07
A
lexande
r
Færøy
Be explicit abou
t
b
o
dy size in
lo
g
messages
.
commit
|
commitdiff
|
tree
2017-02-07
A
l
exan
d
er F
æ
rø
y
Add debug
l
og stat
e
ment when sending a director
y
command
.
commit
|
commitdiff
|
tree
2017-02-01
Alexander Færøy
Add c
h
e
cks
for expected
log messag
e
s
in test_
h
s_intropo
i
nt
.
commit
|
commitdiff
|
tree