Nick Mathewson
|
94a1b8b66c
Add a unit test for decompressing concatenated inputs.
|
7 years ago |
Nick Mathewson
|
8cb08f716d
fix a coverity resource leak warning
|
7 years ago |
Daniel Pinto
|
ba3a5f82f1
Add support for %include funcionality on torrc #1922
|
7 years ago |
Nick Mathewson
|
584ab1f29b
Merge branch 'compress_none_v2_squashed'
|
7 years ago |
Nick Mathewson
|
3836d9481f
Add unit tests for the NO_METHOD compressor
|
7 years ago |
Nick Mathewson
|
c486ef57a3
Rename x-lzma to x-tor-lzma
|
7 years ago |
Nick Mathewson
|
49deb1e1b8
Document and test nul-terminating behavior of tor_uncompress()
|
7 years ago |
Nick Mathewson
|
199e61feb5
whitespace fix
|
7 years ago |
Nick Mathewson
|
ba9f235e17
Re-enable the partial-input test for zstd.
|
7 years ago |
Nick Mathewson
|
166aa8d741
Have a separate entry point for each compresion test
|
7 years ago |
Alexander Færøy
|
7bececbd69
Refactor compression tests into a single test.
|
7 years ago |
Nick Mathewson
|
880fb3e3a9
Combine all *compress/*uncompress backend function into one
|
7 years ago |
Alexander Færøy
|
1c77d8690c
Add function to check if a given compression method is supported.
|
7 years ago |
Alexander Færøy
|
380736d045
Add Zstandard support.
|
7 years ago |
Alexander Færøy
|
bf1c07cb07
Add LZMA support.
|
7 years ago |
Alexander Færøy
|
3c4459bcbf
Refactor the streaming compression code.
|
7 years ago |
Alexander Færøy
|
44cb86adbe
Rename `tor_gzip_{compress,uncompress}` to `tor_{compress,uncompress}`.
|
7 years ago |
Alexander Færøy
|
4b834e0d5e
Fix whitespace in test_util_gzip() around `OP_*``.
|
7 years ago |
Alexander Færøy
|
a8821d8366
Use tt_int_op() over tt_assert() and do explicit NULL checks in test_util_gzip().
|
7 years ago |
Alexander Færøy
|
a28be68cf2
Split strings at newline in tor_get_lines_from_handle().
|
7 years ago |
Nick Mathewson
|
7505f452c8
Run the copyright update script.
|
7 years ago |
Alexander Færøy
|
02fc0a5ecf
Remove fgets() compatbility function and related tests.
|
7 years ago |
Alexander Færøy
|
0e5c7dc45b
Add test case for get_string_from_pipe().
|
7 years ago |
Alexander Færøy
|
ae91e64fa8
Reset `buf` after each succesful test to avoid artifacts.
|
7 years ago |
Alexander Færøy
|
3dca5a6e71
Use tor_fgets() instead of fgets().
|
7 years ago |
Nick Mathewson
|
c0aa7ac5ac
Merge branch 'disable_memory_sentinels_squashed'
|
7 years ago |
Nick Mathewson
|
b923c4dc9f
Code to disable memory sentinels for fuzzing
|
7 years ago |
Nick Mathewson
|
7e469c1002
Merge branch 'bug20894_029_v3'
|
7 years ago |
Nick Mathewson
|
c4f2faf301
Don't atoi off the end of a buffer chunk.
|
7 years ago |
David Goulet
|
e129393e40
test: Add missing socket errno in test_util.c
|
7 years ago |