Edward Diener
871e439ac1
Fix FILE namespace qualification
...
fixes #1944
2020-05-20 15:54:55 +02:00
Richard Hodges
1054661723
Fix http read bytes_transferred (API Change)
...
fixes #1942
2020-05-20 15:54:52 +02:00
Richard Hodges
fc7c645f64
Set version to 293
...
closes #1932
closes #1938
closes #1933
closes #1939
2020-05-04 18:48:15 +02:00
Richard Hodges
42bd4d4d18
Reduce dependencies of buffers_prefix
...
closes #1940
2020-05-04 18:48:15 +02:00
Richard Hodges
27ce598bad
No automatic User-Agent in WebSocket
...
fixes #1935
2020-05-04 18:47:06 +02:00
Richard Hodges
4be7c5aec3
Fix async_connect documentation
...
resolves #1903
2020-05-04 18:47:03 +02:00
Richard Hodges
438c238ab9
Comment move behaviour of basic_stream
...
resolves #1917
2020-05-04 10:58:54 +02:00
Richard Hodges
0cc3acdb83
Fix assert in websocket
...
fixes #1931
2020-05-04 10:58:26 +02:00
Richard Hodges
379cbefc39
Set version to 292
2020-05-01 07:08:31 +02:00
Richard Hodges
638e2d1244
Fix compilation errors with msvc /std:c++latest
...
fixes #1916
fixes #1925
2020-05-01 07:08:31 +02:00
Richard Hodges
fda558e034
Fix standalone compilation error with std::string_view
...
fixes #1913
2020-04-30 21:00:00 +02:00
Richard Hodges
a4b5cd8473
Fix c++20 deprecation warning in span_body
...
resolves #1924
2020-04-30 16:54:27 +02:00
Richard Hodges
83fc0018a8
Set version to 291
2020-04-28 20:48:03 +02:00
Richard Hodges
d016ff52af
Fix all async initiating functions with use_awaitable:
...
Add trait:
is_completion_token_for
Fixes for
buffered_read_stream
Add tests for
basic_stream
buffered_read_stream
flat_stream
http (all)
websocket (all)
resolves #1920
2020-04-28 20:48:00 +02:00
Richard Hodges
24cc4a7aee
Fix async_detect_ssl with use_awaitable
...
fixes #1918
2020-04-28 20:45:13 +02:00
Richard Hodges
f5064e0c46
Set version to 290
2020-04-20 08:09:15 -07:00
Richard Hodges
3c6600c8f4
Set Version to 289
2020-04-08 15:58:16 +02:00
Richard Hodges
d12dcef52c
Fix Content-Length parsing
...
Fix #1880
2020-03-19 16:21:29 +01:00
Richard Hodges
5e9e517dc5
Set version to 288
2020-03-18 15:55:03 +01:00
Richard Hodges
7e48270c1b
Set version to 287
2020-03-17 16:08:11 +01:00
Richard Hodges
570eafcd40
Ensure basic_stream::close will not throw
...
refs: #1875
2020-03-17 16:06:41 +01:00
Richard Hodges
929b15f844
Correct buffer_bytes documentation
...
ref #1854
2020-03-17 16:02:53 +01:00
Richard Hodges
c08e636711
Refactor websocket read:
...
Some readability improvements
ref #1618
2020-03-17 16:02:32 +01:00
Richard Hodges
c8a726f962
Set version to 286
...
close #1861 , close #1862 , close #1864 , close #1845 , close #1866
2020-02-29 11:05:44 -08:00
Cristian Morales Vega
75da7a522e
Fix ostream flush:
...
fix #1853 , close #1859 , close #1866
After calling the DynamicBuffer commit() function the
buffer returned from prepare() can be invalidated but
the ostream kept using it.
2020-02-29 10:43:20 -08:00
Vinnie Falco
f5273300f9
Field digest is endian-independent:
...
fix #1863
close #1864
* Added some comments
* Add 64-bit specific calculation
* Fix endian-dependence in digest
2020-02-29 10:43:05 -08:00
Cristian Morales Vega
2c2e2c0812
detail::ostream_buffer is final:
...
The Clang Static Analyzer was complaining about the fact the destructor
calls a virtual function. This silences it.
close #1862
2020-02-29 10:43:05 -08:00
Richard Hodges
5a82673089
Add missing include
2020-02-29 10:43:00 -08:00
Richard Hodges
ea078cfcdb
Refactor flat_static_buffer
2020-02-29 10:43:00 -08:00
Richard Hodges
25c8fb4714
Refactor flat_buffer
2020-02-29 10:43:00 -08:00
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