Richard Hodges
fc5399722e
Refactor static_buffer
2020-02-29 10:43:00 -08:00
Richard Hodges
69ef525d5c
Refactor buffers_adaptor
2020-02-29 10:43:00 -08:00
Vinnie Falco
c340697171
Refactor multi_buffer
2020-02-29 10:42:30 -08:00
Richard Hodges
c058567ec1
set version to 285
2020-02-04 19:42:06 +01:00
Vinnie Falco
18ce21d5c9
Translate some win32 errors to net error codes
...
fix #1815
2020-02-04 19:42:06 +01:00
Richard Hodges
8a90ec0e3b
flat_buffer shrink_to_fit never throws
...
fixes #1831
closes #1835
2020-02-04 19:41:50 +01:00
Richard Hodges
7701bf8738
moved-from container with unequal allocator will not be modified:
...
Affects:
- flat_buffer
- multi_buffer
- http::fields
fixes #1832
closes #1834
2020-02-04 18:36:53 +01:00
Richard Hodges
6d10adf936
fix erase field
...
fixes #1828
closes #1829
2020-02-04 18:36:50 +01:00
Richard Hodges
c9d5049307
set version to 284
2020-01-28 10:27:17 +01:00
Richard Hodges
3d168c0336
file body reports short_read on eof
...
fixes #1818
fixes #1815
close #1821
2020-01-28 10:24:44 +01:00
Richard Hodges
9068787df1
Set version to 283
2020-01-23 16:52:51 +01:00
Mika Fischer
a6155ae9bf
Add accessor function to File member of basic_file_body:
...
fix #1260
close #1814
2020-01-23 16:24:46 +01:00
Richard Hodges
416cc40422
ostream_buffer satisfies preconditions of DynamicBuffer_v1::commit:
...
close #1806
2020-01-23 16:24:40 +01:00
Richard Hodges
46ac848fa4
Set version to 282
2019-12-29 08:58:24 -08:00
Mika Fischer
dfb44236e9
file_stdio supports unicode paths:
...
fix #793 , close #1791 , close #1793
2019-12-29 08:58:13 -08:00
Mika Fischer
f0c92f472c
file_win32 supports UTF-8 paths:
...
fix #793 , close #1791 , close #1793
This brings file_win32 in sync with the documentation.
Previously, the path passed to open worked if encoded in the system
codepage (which is almost never UTF-8).
Now, the path must be encoded as UTF-8, as stated in the
documentation.
Adapt file tests so that for file_win32 all paths include a unicorn
character.
2019-12-29 08:56:02 -08:00
Vinnie Falco
45cb52f651
Set version to 281
2019-12-23 10:51:26 -08:00
Mika Fischer
0abb38a310
file_win32 bodies respect http::serializer::split
...
fix #1786 , close #1788
2019-12-23 10:51:22 -08:00
Vinnie Falco
9be923c40e
Set version to 280
2019-12-17 11:12:26 -08:00
Vinnie Falco
54ea61fd42
Use docca master branch
2019-12-17 11:11:53 -08:00
Vinnie Falco
0fa85226f0
Set version to 279
2019-12-08 08:31:46 -08:00
Vinnie Falco
b7a54c0a64
Use superproject docca
2019-12-07 14:18:38 -08:00
Vinnie Falco
2f7ddb69ee
Use plain throw in unit test framework
2019-12-06 19:48:27 -08:00
Vinnie Falco
0b68ed651b
Set version to 277
2019-11-09 03:02:57 -08:00
Vinnie Falco
718aef721a
Set version to 276
2019-11-02 08:30:31 -07: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
Cristian Morales Vega
26a156e300
Fix async_close error code when async_read times out
...
close #1754
2019-11-02 08:26:23 -07:00
Vinnie Falco
bb85859e96
Set version to 275
2019-10-31 06:50:00 -07:00
Vinnie Falco
32bbd38387
Support Concepts for completion token params
2019-10-31 06:47:22 -07:00
Vinnie Falco
9f468ec1c1
Use automatically deduced return types for all async operations:
...
C++14 or later is required to support completion tokens that use
per-operation return type deduction. For C++11, a completion
token's async_result specialisation must still provide the nested
typedef `return_type`.
2019-10-31 06:47:22 -07:00
Vinnie Falco
d64e5f718c
Add basic_stream::rebind_executor
2019-10-31 06:26:12 -07:00
Vinnie Falco
7cc8759261
Async init-fns use the executor's default token
2019-10-31 05:47:05 -07:00
Vinnie Falco
2ccb110dc9
Set version to 274
2019-10-18 05:30:32 -07:00
Peter Jankuliak
1abe92f524
Fix leftovers in basic_parser corner case:
...
fix #1734 , close #1736
buf_.get() has size `buf_len_`, but only `size` number of octets in that
buffer is valid.
2019-10-18 05:30:29 -07:00
Vinnie Falco
cee64b5223
Set version to 273
2019-10-15 15:48:51 -07:00
Vinnie Falco
087bcc4ef5
Use the executor type in basic_stream timer
...
fix #1589
2019-10-15 15:48:42 -07:00
Vinnie Falco
bafce23853
Squelch spurious websocket timer assert
2019-10-09 12:00:22 -07:00
Vinnie Falco
045dfeb47f
Set version to 272
...
close #1720
2019-10-07 12:49:20 -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
ba42517897
Fix typo in inflate stream doc
...
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
Vinnie Falco
7dbb3bd417
Add BEAST_THROWS
2019-10-06 15:15:54 -07:00
Vinnie Falco
d6bc3da94c
Set version to 271
...
close #1721 , close #1722
2019-10-06 08:06:28 -07:00
Vinnie Falco
0f932d589b
Silence unused variables
2019-10-04 18:57:48 -07:00
Vinnie Falco
628e620e0c
Set version to 269
2019-10-04 06:10:23 -07:00
Vinnie Falco
8e7ef7aa0f
Fix doc typo
2019-10-03 02:56:55 -07:00
Vinnie Falco
f3118b75de
Fix /permissive- missing include
...
fix #1673
2019-09-27 06:46:02 -07:00
Vinnie Falco
55fd67b874
Set version to 268
2019-09-15 18:02:55 -07:00
Vinnie Falco
b7230f12f1
Set version to 267
2019-08-29 11:01:29 -07:00