alandefreitas
0ed09e59d9
Fix zlib warnings
...
fix #2461
2022-06-22 15:06:23 -03:00
alandefreitas
925043e1e8
Update Beast zlib streams
...
fix #2439
2022-06-03 17:45:32 -03:00
msuvajac
3fd090af3b
Port zlib fix for CVE-2016-9840:
...
Commit ref: https://github.com/madler/zlib/commit/6a043145ca6e9c55184013841a67b2fef87e44c0
Additionally updated lext table to one used in zlib v1.2.11.
close #2314
2021-11-03 19:25:07 +01:00
AeroStun
d895906bcc
Refactor zlib tests and fix typo:
...
close #1744
* Fixed typo in enum name
* Added missing zlib error enumerator
* Marked caveat in zlib impl to avoid future confusion
* Created Compressor/Decompressor abstractions in Beast.zlib tests
* Applied abstractions on Beast.zlib tests
* Workaround Travis-CI' 10min silence timeout
* Add test for Beast.zlib's need_dict error
* Avoid breaking user-code dependant on deprecated enumerator interface
Signed-off-by: AeroStun <24841307+AeroStun@users.noreply.github.com >
2019-11-02 08:29:30 -07:00
AeroStun
da3b5a664c
Fixed null pointer ASAN error introduced in commit d41b7c23
...
Signed-off-by: AeroStun <24841307+AeroStun@users.noreply.github.com >
2019-10-07 12:47:15 -07:00
Damian Jarek
962f01e1f0
Use memcpy to avoid putting one byte at a time when copying blocks
...
`memcpy` is likely to be faster than the naive method due to the
possibility of use of vector instructions and copying more than a byte
at a time.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-10-07 12:46:39 -07:00
Damian Jarek
610a2681e4
Throw on invalid argument
...
This condition is a programmer error, so reporting it as a regular
error is confusing.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-10-07 12:46:39 -07:00
Damian Jarek
b8b04f8f39
Cleanup transitive includes in beast/core/detail/type_traits.hpp
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-06-24 11:07:41 -07:00
Damian Jarek
7a388b7da6
Fix uninitalized memory use in deflate_stream
...
Reference in original zlib:
https://github.com/madler/zlib/pull/393
Resolves : #1586
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-05-04 17:30:23 +02:00
Damian Jarek
5a0b4d7ebe
More split compilation in HTTP
...
close #1541
- Remove unused private functions: `skip_ows_rev`, `skip_obs_fold`.
- Enable split compilation in `http/detail/rfc7230.hpp`.
- More split compilation in `basic_parser`.
- Remove some unnecessary includes.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-03-24 11:05:24 -07:00
Vinnie Falco
955354b9dd
Enable split Beast compilation for tests
2019-02-22 17:27:27 -08:00
Vinnie Falco
6ada618c12
Check BOOST_NO_CXX11_THREAD_LOCAL
2019-02-21 11:09:02 -08:00
Vinnie Falco
944b5dcda7
Clear error codes idiomatically
2019-01-20 09:50:43 -08:00
Vinnie Falco
92d34b9e3b
Use static_cast instead
...
fix #1163
2018-07-15 09:11:15 -07:00
Vinnie Falco
3546eff033
Remove BOOST_VERSION checks
...
fix #722
2018-01-12 12:30:39 -08:00
Vinnie Falco
970daa340a
Tidy up fallthrough warning
2017-10-27 17:03:44 -07:00
Vinnie Falco
2ac6936312
Fix zlib symbol conflicts
...
fix #808
2017-10-07 13:59:04 -07:00
Vinnie Falco
c465ed5a69
Update repository links in source comments
2017-07-29 12:44:10 -07:00
Vinnie Falco
8578f3cf76
Update copyrights
2017-07-24 09:42:51 -07:00
Vinnie Falco
7139dd639a
Boost prep
2017-07-23 17:34:13 -07:00