1081 Commits

Author SHA1 Message Date
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
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
bfc9c71671 Set version to 311 2021-03-16 10:04:12 +01:00
Richard Hodges
1a5aea3d86 Fix MSVC build error 2021-03-15 23:12:00 +01:00
Richard Hodges
f814ce1fd7 Set version to 310. 2021-03-09 10:07:31 +01:00
Richard Hodges
50a5e23e1c Set version to 309
closes #2177
2021-03-03 19:35:33 +01:00
Richard Hodges
670f01f050 No undefined behaviour in parser
closes #2172
2021-03-03 19:22:13 +01:00
Richard Hodges
2ab0bd22d9 Set version to 308 2021-03-01 22:34:36 +01:00
KnoerleMan
fc673aa09b Fix compiler warning in WebSocket async shutdown:
Credit: https://github.com/KnoerleMan

closes 2174
2021-03-01 19:50:29 +01:00
Christopher Kohlhoff
760b875c3b Limit the number of net::async_write instantiations by using a common buffer sequence type
closes #2169
2021-03-01 19:50:29 +01:00
Richard Hodges
64d8d8618c Set version to 307 2020-12-16 21:13:03 +01:00
Richard Hodges
8913a3cd21 Add executor rebind to test::stream
closes #2139
2020-12-16 21:11:29 +01:00
Nik Bougalis
33ea793020 Avoid the need for floating point arithmetic
closes #2124
2020-12-16 18:31:36 +01:00
Richard Hodges
393b11be81 Set version to 306 2020-12-01 19:21:42 +01:00
Richard Hodges
822722c6c3 Revert removal of deprecated lowest_layer from test::stream:
This reverts commit 3fb693eda6.
2020-12-01 17:52:53 +01:00
Richard Hodges
60d5745acc Set version to 305 2020-11-20 18:23:13 +01:00
Richard Hodges
7143548860 Set version to 304 2020-11-04 15:24:07 +01:00
Richard Hodges
20951cbbbc Set Version to 303 2020-10-28 14:38:06 +01:00
Giovanni Mascellani
9ce16bccbd Fix typo in copyright headers.
closes #2102
2020-10-26 16:56:18 +01:00
Richard Hodges
855fc23885 Set version to 302 2020-09-13 16:19:27 +02:00
Richard Hodges
bea31bfff6 Fix nullptr implicit cast on fields::set()
fixes #2085
2020-09-13 16:19:27 +02:00
Richard Hodges
91d9457ab9 Add Sec-* HTTP headers
fixes #2080
closes #2082
2020-09-07 17:26:34 +02:00
Richard Hodges
7811f4c52f Fix assert when basic_stream used as underlying of ssl::stream with 0-length write
Fixes #2065
Closes #2078
2020-09-03 16:12:40 +02:00
Richard Hodges
4eb7d06d5d Set version to 301 2020-08-28 16:24:38 +02:00
Richard Hodges
9e6822773e Fix erroneous error when HTTP body_limit is none
fixes #2070
closes #2073
2020-08-28 13:26:59 +02:00
Richard Hodges
d04ff199bb Fix unreachable code warning with MSVC
fixes #1582
closes #2035
2020-08-28 13:26:23 +02:00
Richard Hodges
982120c73e Fix file open with append_existing flag on posix
fixes #2011
closes #2027
2020-08-28 13:26:22 +02:00
Richard Hodges
ccd0f8822a Websocket SSL teardown also tears down underlying TCP
fixes #2023
2020-08-28 13:26:22 +02:00
Richard Hodges
bc1fc65d7e Add handler tracking locations to websocket 2020-08-28 13:26:22 +02:00
Richard Hodges
8c21c80f43 Add handler tracking locations to tcp teardown 2020-08-28 13:26:21 +02:00
Richard Hodges
2f6bf76cb4 Eliminate spurious uninitialised variable warning in detect_ssl 2020-08-28 13:26:21 +02:00
Richard Hodges
932db900c3 Add handler tracking locations to flat_stream 2020-08-28 13:26:21 +02:00
Richard Hodges
886ac8b7a0 Add handler tracking locations to detect_ssl 2020-08-28 13:26:21 +02:00
Richard Hodges
4357e8356e Add handler tracking locations to icy_stream 2020-08-28 13:26:21 +02:00
Christopher Kohlhoff
11385141ea Add handler tracking locations to http operations 2020-08-28 13:26:21 +02:00
Christopher Kohlhoff
5641d9498b Add handler tracking locations to basic_stream 2020-08-28 13:26:17 +02:00
Richard Hodges
201105e66a Set version to 300
closes #2017
2020-07-24 13:59:49 +02:00
Richard Hodges
2efb729c53 Fix compile errors under Clang 3.4
fixes #2030
closes #2031
2020-07-24 13:59:49 +02:00
Richard Hodges
11a3b932b2 Set Version to 299
closes #2008
closes #2007
2020-07-07 19:27:59 +02:00
Richard Hodges
03d43aa397 Set Version to 298
closes #1999
2020-07-04 08:22:57 +02:00
Richard Hodges
de1e63c597 Fix style errors 2020-07-04 08:12:10 +02:00
Richard Hodges
719f1a5505 Fix websocket stream when using net.ts executor type 2020-07-04 07:35:19 +02:00
Richard Hodges
060f59685c Support BOOST_ASIO_NO_TS_EXECUTORS 2020-07-04 07:35:14 +02:00
Richard Hodges
5f1adfbc6d Refactor get_io_context 2020-07-04 07:35:06 +02:00
Christopher Kohlhoff
107b01ad24 Update bind_handler test to use standard executor form 2020-07-04 07:35:01 +02:00
Christopher Kohlhoff
06a0b18b1d Use strand<> rather than legacy executor io_context::strand 2020-07-04 07:34:45 +02:00
Christopher Kohlhoff
aef2559c7a Use dispatch/post free functions to be independent of executor concept 2020-07-04 07:34:41 +02:00
Christopher Kohlhoff
55302a3f8f New name for polymorphic executor. Trait for detecting new executors 2020-07-04 07:34:34 +02:00
Christopher Kohlhoff
22f2f5dcf4 Handler invoke and allocation hooks are deprecated 2020-07-04 07:34:21 +02:00