Commit Graph
2163 Commits
Author SHA1 Message Date
Richard Hodges cf29ecdb63 Fix open append mode for file_win32 2021-12-10 17:22:50 +01:00
Richard Hodges 88d5deec0f Add tests for file open in append/append_existing mode 2021-12-10 17:15:13 +01:00
vm2mv fb8f57a9e5 Fix file open with append/append_existing flag on Windows 2021-12-10 17:14:16 +01:00
Richard Hodges 1405b5a8eb Set version to 323
close #2356
2021-12-09 14:27:32 +01:00
Peter Dimov 2c06024aa3 Fix clang-cl UTF8 path handling for file_win32:
For file_win32, check _WIN32 instead of BOOST_MSVC

refs #2081
close #2354
2021-12-09 14:27:29 +01:00
Peter Dimov b160673fd9 Fix clang-cl UTF8 path handling for file_stdio:
Check _MSVC_STL_VERSION in addition to BOOST_MSVC, to detect e.g. clang-cl using the MS STL

close #2353
refs #2081
2021-12-09 14:27:24 +01:00
sdarwin 5e0c028fd0 Update code coverage settings:
codecov.yml file - ignore dirs

close #2352
2021-12-09 14:27:22 +01:00
sdarwin 972abd7a36 Update CI to include gcc 11, clang 12, msvc 14.3
close #2351
2021-12-09 14:27:21 +01:00
Richard Hodges 355dcfe502 Add individual tests to CMake workflow
close #2350
2021-12-09 14:27:18 +01:00
Richard Hodges 94e6f14329 Set version to 322
close #2342
boost-1.78.0
2021-11-12 18:09:08 +01:00
Richard Hodges f16925f2b5 Fix typo in _experimental::test::basic_stream documentation 2021-11-12 16:49:24 +01:00
Richard Hodges bd5e702c90 Update release notes for Boost 1.78 boost-1.78.0.beta1 2021-11-03 21:03:49 +01:00
Richard Hodges 86629991cb Set version to 321 2021-11-03 20:53:28 +01:00
Ed Tanous 071b905bc4 Remove test framework's dependency on RTTI:
Allow unit tests to compile with rtti=off

This struct is only used to make sure that there are no duplication of
test suites.  Move it to a concept that works with RTTI disabled.

Signed-off-by: Ed Tanous <ed@tanous.net>

close #2337
2021-11-03 20:53:28 +01: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
ShuangLiu1992 b16005a456 Fix TLS SNI handling in websocket_client_async_ssl example:
Original commit message
fixed an error in websocket_client_async_ssl

close #2315

in this example host_ string should be updated after SSL_set_tlsext_host_name just like the synced version, otherwise this would cause a handshake error
2021-11-03 19:14:50 +01:00
Hreniuc Cristian-Alexandru 91c0df61d0 Fix reuse of sliding window in WebSocket permessage_deflate:
Original commit message:
Use zlib::Flush::sync instead of zlib::Flush::full, for stream compression

https://github.com/boostorg/beast/issues/2313

fixes #2313
closes #2318
2021-11-03 18:46:53 +01:00
Hreniuc Cristian-Alexandru 2f4506dc37 Fix accept error handling in http_server_async example
close #2319
2021-11-03 18:39:42 +01:00
Evan Lenz 5cc73b944c Move library-specific docca configuration to Beast
fix #170
close #2336
2021-11-03 16:54:31 +01:00
Ed Tanous 4235525c6a Allow test::stream to be used with NORTTI:
Currently, the test stream code doesn't compile when both debug builds
(namely assertions) are enabled along with disabling rtti.  The current
code directly uses type_id(), which isn't available without rtti.

This commit allows stream.hpp to compile without rtti enabled.

Signed-off-by: Ed Tanous <ed@tanous.net>

close #2331
2021-11-03 16:52:48 +01:00
Richard Hodges b15a5ff0e4 Set version to 320
closes #2309
2021-09-04 06:38:29 +02:00
Richard Hodges f65dc21335 Fix missing includes:
Files:
beast/_experimental/test/detail/stream_state.hpp

refs #2295
2021-09-03 21:02:45 +02:00
sdarwin a9a09952a2 Update GitHub Actions CI file
closes #2301
2021-09-03 21:02:09 +02:00
Richard Hodges 21cd552399 Update version to 319 2021-08-04 10:56:37 +02:00
Richard Hodges 4f3e0c5227 Update release notes for Boost 1.77 2021-08-04 10:53:49 +02:00
sdarwin 03c4f0db4f Consolidate drone configs
closes #2256
2021-08-04 09:39:31 +02:00
Richard Hodges 710cc53331 Set version to 318
closes #2255
boost-1.77.0.beta1 boost-1.77.0
2021-06-06 19:50:18 +02:00
Peter Dimov e9ceb6c894 Add a Boost-friendly subproject case to CMakeLists
closes #2254
2021-06-06 17:10:24 +02:00
Richard Hodges 5546086ca9 Remove use of POSIX-only constant
fixes #2233
refs #2231
2021-06-06 16:49:21 +02:00
Richard Hodges 30abfdb9f7 Set version to 317
closes #2246
2021-05-26 21:23:05 +02:00
Richard Hodges 48f4cca766 Remove travis CI 2021-05-26 19:36:03 +02:00
sdarwin ed75617865 Fix drone CI script
closes #2243
2021-05-26 12:12:46 +02:00
mxp 01cd68c9a4 Add example of reading large response body
closes #2240
2021-05-26 12:12:45 +02:00
Richard Hodges bccacab917 Set version to 316
closes #2239
closes #2237
2021-05-22 18:19:10 +02:00
Richard Hodges 1412acd146 Disable GHA CI for clang-9:
The GHA image causes a segfault while running beast tests.
Not reproducable when using an official ubuntu image.
I have assumed that the problem is with the GHA image and disabled the
test for the timebeing.
2021-05-22 16:46:24 +02:00
Richard Hodges b1da28625e Update example root certificates
fixes #2236
2021-05-22 16:46:23 +02:00
Richard Hodges 47ea201d6e Set version to 315 2021-04-18 15:09:10 +02:00
Dmitry Arkhipov af24a63c12 Use Docca jam module
closes #2215
2021-04-18 15:06:25 +02:00
Richard Hodges 83aaefaf72 Set version to 314 2021-04-06 19:24:51 +02:00
Richard Hodges fa1004fcbf Add missing compilers to GHA Script 2021-04-06 19:24:51 +02:00
Richard Hodges 7257d64a21 WebSocket test is deterministic 2021-04-06 19:24:51 +02:00
Richard Hodges b7344b0d50 Set version to 313
closes #2207
closes #2201
closes #2191
boost-1.76.0
2021-03-29 12:20:49 +02:00
Richard Hodges c3e83439dd Fix incorrect websocket test ordering 2021-03-29 12:17:23 +02:00
Michael Haubenschild 31a1fb332a Fix missing check for error code after header is parsed:
The missing error check leads to completely ignoring the body limit,
as the body limit is compared to the "Content-Length" header inside
the "finish_header" method.

closes #2201
2021-03-25 15:04:12 +01:00
Richard Hodges 26e9a4c294 Update GHA workflow 2021-03-25 14:47:17 +01:00
dmorilha-twilio 8283a7df3f Fix case where inflated content is larger than out buffer
closes #2191
2021-03-25 14:47:10 +01:00
Richard Hodges 50512cb5cd Set version to 312
closes #2202
2021-03-19 00:40:18 +01:00
Richard Hodges 523191d228 Add Github Actions CI
closes #2198
2021-03-19 00:40:18 +01:00
Richard Hodges bfc9c71671 Set version to 311 2021-03-16 10:04:12 +01:00
Richard Hodges 70bddce07f Fix warning in http-server-fast 2021-03-16 10:03:25 +01:00