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
Check the return value of hs_parse_address().
2017-12-06
Alexa
n
de
r
Færøy
Check
the return va
l
ue of
h
s
_pa
r
s
e_address()
.
commit
|
commitdiff
|
tree
2017-11-20
Alexan
d
er Færøy
Add initial i
n
structions on
using Simpleperf fo
r
Andro
i
d
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
Alexander Færøy
B
ump version to 0
.
3
.
2
.
2-alpha
.
commit
|
commitdiff
|
tree
2017-09-28
Alexand
e
r Fær
ø
y
B
etter error handling when
t
rying to co
m
press/
d
ecompress
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
Alexand
e
r Færøy
Enable d
i
sabled test
that was disabled
d
ue to bug
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
Al
e
xa
n
der Færøy
B
e
tter error handl
i
ng when
trying to compress/decompress
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
Alexande
r
Færøy
F
i
x
w
h
itesp
a
ce
i
ssue in compress
.
c
commit
|
commitdiff
|
tree
2017-09-28
Ale
x
and
e
r Færøy
Fix t
y
po in buffers
.
c
.
commit
|
commitdiff
|
tree
2017-08-24
Alexande
r
F
æ
r
ø
y
En
s
u
re
t
hat `make check-spaces` is happy
.
commit
|
commitdiff
|
tree
2017-08-24
Alexander Fær
ø
y
F
ix operator
u
sag
e
in src/test/*
.
c
commit
|
commitdiff
|
tree
2017-08-24
Alexander
F
ærøy
Add Cocci
n
elle
p
at
c
h for replacin
g
NULL/non-NU
L
L tt
_
assert()
.
commit
|
commitdiff
|
tree
2017-08-24
A
lexand
e
r Færø
y
Add Cocci
n
elle patch for
r
e
p
l
a
cing tt
_
assert() us
a
g
e
.
.
.
commit
|
commitdiff
|
tree
2017-08-24
Alexander Færøy
Add Cocc
i
nel
l
e patch
f
or
replac
i
n
g
tt_
a
s
s
ert(0) w
i
th
.
.
.
commit
|
commitdiff
|
tree
2017-08-24
Al
e
xand
e
r Fær
ø
y
Add Coccinelle patch for detec
i
ng places where CEIL_DIV
.
.
.
commit
|
commitdiff
|
tree
2017-08-24
Alexande
r
Færøy
Add script fo
r
c
l
e
aning op operato
r
us
a
g
e in test
f
iles
.
commit
|
commitdiff
|
tree
2017-05-22
Al
e
xander Færøy
Log a
w
a
r
ning if
w
e r
e
ceive a dis
a
llowed
c
o
mp
r
e
ssion
.
.
.
commit
|
commitdiff
|
tree
2017-05-22
A
l
exander Færøy
Ensure
that only GZi
p
and Zlib compression i
s
handled
.
.
.
commit
|
commitdiff
|
tree
2017-05-22
Alexander Færøy
R
e
factor error pa
t
h ha
n
dling in
c
onnec
t
ion_dir
_
c
l
i
e
n
t
_reache
.
.
.
commit
|
commitdiff
|
tree
2017-05-22
Alex
a
nder Færøy
Don't add "Accept-Enc
o
ding" header if directory connection
.
.
.
commit
|
commitdiff
|
tree
2017-05-17
Alexander F
æ
røy
A
d
d cover
a
ge markers in Zstd
+
LZMA compression backends
.
commit
|
commitdiff
|
tree
2017-05-17
Alexander
F
æ
røy
Fix whit
e
space issu
e
.
commit
|
commitdiff
|
tree
2017-05-17
Alexander
F
ærøy
Check that tor_compress_state_size()
r
etu
r
ns a value
.
.
.
commit
|
commitdiff
|
tree
2017-05-16
Al
e
xander Færøy
E
n
sure
that each compress
i
on backend returns a provider
.
.
.
commit
|
commitdiff
|
tree
2017-05-15
Alexander
F
ærøy
Fix dir_hand
l
e_get/
.
.
.
test-cases for prop#278 support
.
commit
|
commitdiff
|
tree
2017-05-15
A
l
e
x
ande
r
Færøy
H
andle
n
o
n
-compressed
requ
e
sts gracefull
y
.
commit
|
commitdiff
|
tree
2017-05-15
Alexander Færøy
Remove old consensus fetch
i
n
g
c
o
de f
r
om
h
a
ndle_get_curr
e
nt_c
.
.
.
commit
|
commitdiff
|
tree
2017-05-15
Alex
a
nder Færøy
Fix too wide line
from `make chec
k
-space
s
`
.
commit
|
commitdiff
|
tree
2017-05-15
Alexander
F
ærøy
Check for b
e
s
t
cons
e
nsus when no consensusdiff
was
.
.
.
commit
|
commitdiff
|
tree
2017-05-15
Alexander Færøy
Fe
t
ch t
h
e curr
e
nt
con
s
e
n
s
u
s
f
r
om the conscache subsystem
.
commit
|
commitdiff
|
tree
2017-05-12
Alexa
n
der Færøy
Ad
d
stub fu
n
c
ti
o
ns for querying metadata abo
u
t the
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Ale
x
a
nder Færøy
Fix
t
a
utolo
g
ical
c
onstant out-of-
r
a
n
ge c
o
mparison wa
r
nings
.
commit
|
commitdiff
|
tree
2017-05-12
A
l
exan
d
e
r Fær
ø
y
Fix DoubleNL warning from `make check-spaces`
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Fæ
r
ø
y
U
s
e d
i
fferent preferences for compression
m
etho
d
s wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Fær
ø
y
Add client_meth_pref array to define client compress
i
on
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander
F
æ
røy
Fi
x
ind
e
ntation when using
the ternary operato
r
in
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexand
e
r
Færøy
Use compressi
o
n_
m
ethod_get_hu
m
an_name() in conne
c
tion_dir_c
l
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alex
a
nder Færøy
Add API for gett
i
ng human read
a
ble descri
p
tions
o
f
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexand
e
r Færøy
Use c
o
m
p
ressio
n
_method_
g
et_
b
y_name() instead of explicit
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Færøy
Decide
compression
m
e
thod in
the
v
arious
handle_* functions(
)
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Færøy
Send "Acc
e
pt-Encoding
"
to
d
irectory servers
.
commit
|
commitdiff
|
tree
2017-05-12
Al
e
xan
d
er Færøy
Use tor_compr
e
ss_supports
_
metho
d
() instead of c
o
n
stan
t
s
.
commit
|
commitdiff
|
tree
2017-05-12
Ale
x
and
e
r Færøy
Han
d
le Zsta
n
dar
d
and LZMA in o
u
r check for corr
e
c
t
.
.
.
commit
|
commitdiff
|
tree
2017-05-12
Alexander Færøy
Ha
n
dle x-zstd and x
-
tor-
l
z
m
a in pa
r
s
e
_
http_
r
esponse()
.
commit
|
commitdiff
|
tree
2017-05-12
A
l
e
x
ander
F
ærøy
Use dir_co
m
pressed
(
_l
e
n
)
ins
t
e
ad of dir_z(_len)
.
commit
|
commitdiff
|
tree
2017-05-05
A
l
exan
d
er Færøy
Remove dead code in test_options_validate_impl()
.
commit
|
commitdiff
|
tree
2017-05-05
Alexander Færøy
Fix me
m
ory lea
k
found in CID #1405876
.
commit
|
commitdiff
|
tree
2017-04-27
A
lexander Færøy
Enforce
16 MB u
p
per
b
ound
of memory u
s
a
g
e
in LZ
M
A decod
e
r
.
commit
|
commitdiff
|
tree
2017-04-27
Alexander Færøy
O
nly compare t
h
e
f
i
rs
t
3 bytes when tr
y
ing to det
e
ct
.
.
.
commit
|
commitdiff
|
tree
2017-04-27
Alexander Færøy
Test
support for multiple
c
o
mpre
s
si
o
n
backends in
the
.
.
.
commit
|
commitdiff
|
tree
2017-04-27
Alexa
n
der Fæ
r
øy
C
le
a
n up
mentions of
'
zlib
'
and rename the mentions
.
.
.
commit
|
commitdiff
|
tree
2017-04-27
Alexander Færø
y
Re
f
actor c
o
mpression te
s
ts int
o
a single t
e
s
t
.
commit
|
commitdiff
|
tree
2017-04-26
Alexander F
æ
r
ø
y
Appr
o
xi
m
ate memory usag
e
neede
d
for the Zs
t
an
d
a
r
d backend
.
commit
|
commitdiff
|
tree
2017-04-26
A
l
exander Fær
ø
y
Better do
c
umentation for `to
r
_uncompre
s
s(
)
`
.
commit
|
commitdiff
|
tree
2017-04-26
Al
e
xande
r
Færøy
Approximat
e
m
e
mory usage
needed for the L
Z
MA ba
c
kend
.
commit
|
commitdiff
|
tree
2017-04-26
Alexander Færøy
Store
c
ompression
over
h
ead f
r
om `tor_compress
_
state_t`
.
commit
|
commitdiff
|
tree
2017-04-26
Alexander Færøy
Remove unused he
a
der f
r
om the Zstandard
c
o
mpression
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
Alexande
r
Færøy
Add stub fu
n
c
t
ion for libor-tra
c
e
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Rename shadowing v
a
riable in compress_zlib
.
c
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander
Færøy
Fix newlines in compressio
n
h
eader
s
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
R
emove `tor_compress
_
memor
y
_level()`
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Fæ
r
ø
y
Use sw
i
t
ch-statement in tor_
{
comp
r
ess,uncompress}
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
U
s
e `to
r
_
c
omp
r
ess_sup
p
o
r
ts_method()` before
p
rinting
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
Alexand
e
r Færøy
Add AP
I
entry-point for getting compress
i
on method
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
A
lexander Færøy
Add f
u
nction
t
o
c
heck if a g
i
ven
compression
m
ethod
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
A
l
e
xander
Færøy
A
d
d
`tor_comp
r
ess_get_total_alloc
a
tion()` function
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander F
æ
røy
Display
LZMA and Zs
t
andard versions when starting Tor
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Show liblzma and libzstd ver
s
ions in `tor -
-
library
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Add Zstanda
r
d su
p
p
ort
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Add --ena
b
le-zst
d
to our configure script
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Add LZMA support
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Add -
-
enable
-
lzma to our conf
i
gure s
c
ript
.
commit
|
commitdiff
|
tree
2017-04-25
A
l
exander Færøy
Use a switch
-
statement w
h
en checki
n
g for
c
o
mpression
.
.
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Add `compr
e
ss_zlib
.
o
b
j` to `src/com
m
o
n/
M
akefile
.
nmake`
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander Færøy
Re
n
ame
t
he `torgzip` module to `compr
e
ss`
.
commit
|
commitdiff
|
tree
2017-04-25
Alexander
F
æ
r
øy
Mov
e
zlib
compres
s
i
o
n c
o
de into its
o
wn module
.
commit
|
commitdiff
|
tree
2017-04-18
Alexander Færøy
Ex
p
o
s
e `
t
or_compress
_
is_compression_bomb()` a
s
part
.
.
.
commit
|
commitdiff
|
tree
2017-04-18
Alexander Færø
y
Expose `to
r
_c
o
m
p
ress_memo
r
y_le
v
el
(
)
`
as a p
u
blic functio
n
.
.
.
commit
|
commitdiff
|
tree
2017-04-17
Alexa
n
der Færøy
Renam
e
`w
r
ite_to_bu
f
_zlib()` to
`
write_to_buf_com
p
r
e
ss()
`
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander Færøy
R
e
n
ame `
z
lib_
s
tate
`
to `
c
ompress_state` in
the test_buf
f
e
r
s
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander Fær
ø
y
Rename
`zl
i
b
_
state` t
o
`compress_s
t
ate` in `
d
i
r
_connect
i
on_t`
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander
F
ærøy
Refact
o
r the
streaming com
p
ression code
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander Færøy
Rename `t
o
r_gzip_{
c
ompres
s
,uncomp
r
ess}` to `tor_{compress
.
.
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander F
æ
røy
Rename `zl
i
b_compr
e
ssion_level_t` to `com
p
ression_l
e
v
el_t
`
.
commit
|
commitdiff
|
tree
2017-04-17
A
lexander Færøy
Re
m
o
v
e u
n
used function `is_gzip_supported()`
.
commit
|
commitdiff
|
tree
2017-04-17
Alexander Færøy
Fix whites
p
a
c
e
in test_util_gzip
(
) around `OP_*``
.
commit
|
commitdiff
|
tree
2017-04-17
Alexande
r
Fæ
r
ø
y
U
s
e tt_i
n
t
_
o
p() over tt_assert() and
do expl
i
cit NULL
.
.
.
commit
|
commitdiff
|
tree
2017-03-17
Alexande
r
Færøy
Che
c
k onio
n
k
e
y
co
n
sensus pa
r
amet
e
rs
e
very ho
u
r
.
commit
|
commitdiff
|
tree
2017-03-17
Alexande
r
Færøy
Ad
d
periodic t
i
mer f
o
r expiring old onion keys
.
commit
|
commitdiff
|
tree
2017-03-17
A
l
exander Færøy
Add API to quer
y
the curre
n
t onion ke
y
grace period
.
commit
|
commitdiff
|
tree
2017-03-17
Alexand
e
r Fæ
r
øy
Make
M
IN
_
ONION_K
E
Y_
L
I
F
ETIME
a
consensus parameter
d
e
f
ined
.
.
.
commit
|
commitdiff
|
tree
2017-03-17
Alexan
d
er
Færøy
Split st
r
ings at newline in tor_get
_
lines_fro
m
_han
d
le()
.
commit
|
commitdiff
|
tree
2017-03-10
Alexander Færøy
Ma
k
e MAX_DIR_PERIOD indep
e
ndent of MIN_ONION_KEY_LIFETIME
.
commit
|
commitdiff
|
tree
2017-03-08
Alexa
n
der
F
ærøy
R
emo
v
e
fgets() compatbility
function and related tests
.
commit
|
commitdiff
|
tree
2017-03-08
Alexander Færøy
Use less-than ins
t
ead
o
f n
o
t
-
equ
a
l-
t
o for
comparison
.
.
.
commit
|
commitdiff
|
tree
2017-03-08
Alexand
e
r Færøy
A
d
d test case for get
_
string
_
f
rom_pipe()
.
commit
|
commitdiff
|
tree
2017-03-08
Alexan
d
er Færøy
Remove
bu
f
f
e
red
I/
O
st
r
ea
m
u
sage in proces
s
_handle_t
.
commit
|
commitdiff
|
tree
2017-03-08
A
lexander Fær
ø
y
Use read
(
2)
i
n
stead of fgets(3) when
readin
g
pro
c
ess
.
.
.
commit
|
commitdiff
|
tree
2017-03-01
A
l
e
xan
d
er Færøy
Res
e
t
`
buf` after each succesful
t
e
s
t
to avoid artifacts
.
commit
|
commitdiff
|
tree
2017-03-01
Alexan
d
er Færøy
U
se tor_fge
t
s() instead of fgets()
.
commit
|
commitdiff
|
tree
2017-03-01
Alexander Færøy
Add c
o
mpatibi
l
ity function for
f
ge
t
s(
3
)
.
commit
|
commitdiff
|
tree
next