Glen Fernandes
24275ac0c6
Use static_string from Boost.StaticString
2022-04-17 12:30:52 -04:00
dmorilha-twilio
8283a7df3f
Fix case where inflated content is larger than out buffer
...
closes #2191
2021-03-25 14:47:10 +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
bc1fc65d7e
Add handler tracking locations to websocket
2020-08-28 13:26:22 +02:00
Richard Hodges
0cc3acdb83
Fix assert in websocket
...
fixes #1931
2020-05-04 10:58:26 +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
c08e636711
Refactor websocket read:
...
Some readability improvements
ref #1618
2020-03-17 16:02:32 +01:00
Damian Jarek
f10dc38ae6
Replace uses of net::coroutine with asio::coroutine
...
`asio::coroutine` is an extension, which is not part of
the Networking TS, so the `net` alias is not appropriate in this case.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-06-19 17:53:35 +02:00
Damian Jarek
dbadb79a75
Silence gcc-8 warning:
...
The warning was caused by a false positive triggered by boost::optional.
Reference:
https://github.com/boostorg/optional/issues/72
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-05-04 17:30:25 +02:00
Damian Jarek
dc52df351a
Enable more split compilation in websocket and http
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-03-10 13:23:22 -07:00
Damian Jarek
b9aad3d06c
Fix completion handler invocation signatures
...
Completion handlers should be called with the exact same signature as
provided to `async_result`.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-03-07 12:56:40 -08:00
Vinnie Falco
45353a7f04
handler_ptr is deprecated (API Change):
...
* `handler_ptr` is deprecated and should not be used.
Actions Required:
* Replace use of `handler_ptr` with `stable_async_base`
and `allocate_stable`.
2019-03-06 10:38:08 -08:00
Vinnie Falco
9f2b0ce1db
Rename to buffer_bytes
2019-03-05 11:09:53 -08:00
Vinnie Falco
6ccdcdf51d
buffer_size is in buffer_traits.hpp
2019-03-05 11:09:50 -08:00
Vinnie Falco
8e2620e2b1
Doc tidy
2019-03-05 08:00:14 -08:00
Vinnie Falco
05b5843e19
Next layer is a base class
2019-02-27 14:48:31 -08:00
Vinnie Falco
7953ac281f
Pass references as pointers to async_initiate
2019-02-26 07:21:05 -08:00
Vinnie Falco
81f33a0f89
Rename to async_base, stable_async_base
2019-02-26 07:20:08 -08:00
Vinnie Falco
6ada618c12
Check BOOST_NO_CXX11_THREAD_LOCAL
2019-02-21 11:09:02 -08:00
Vinnie Falco
d08cc82e15
Use async_initiate
2019-02-21 06:39:35 -08:00
Vinnie Falco
eea3929b26
Concept check tidying
2019-02-20 19:19:59 -08:00
Vinnie Falco
f21358186e
Add websocket::stream timeouts
2019-02-18 12:18:27 -08:00
Vinnie Falco
dfd08bf6ae
Refactor websocket::stream operations
2019-02-18 12:18:27 -08:00
Vinnie Falco
2e62f25701
Use async_op_base::invoke
2019-02-16 15:09:34 -08:00
Vinnie Falco
fdaf2ea7e1
Rename to async_op_base::invoke_now
2019-02-16 13:36:01 -08:00
Vinnie Falco
adcd4bc0c9
is_completion_handler, type_traits.hpp are deprecated (API Change):
...
* is_completion_handler is deprecated
* type_traits.hpp is a deprecated include
These items will be removed in the next version
* Include the new header file for the types needed:
- stream_traits.hpp
- file_base.hpp
* Use std::is_invocable instead of is_completion_handler
2019-02-05 14:16:30 -08:00
Vinnie Falco
9cee4e053f
Add executor_type trait
2019-02-05 07:46:09 -08:00
Vinnie Falco
35dbd140d4
Add buffer_size
2019-02-03 12:59:11 -08:00
Vinnie Falco
9a8e22950f
websocket stream uses shared_ptr<impl_type>
2019-01-21 08:44:14 -08:00