Glen Fernandes
24275ac0c6
Use static_string from Boost.StaticString
2022-04-17 12:30:52 -04:00
Richard Hodges
bc1fc65d7e
Add handler tracking locations to websocket
2020-08-28 13:26:22 +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
27ce598bad
No automatic User-Agent in WebSocket
...
fixes #1935
2020-05-04 18:47:06 +02: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
bafce23853
Squelch spurious websocket timer assert
2019-10-09 12:00:22 -07:00
Vinnie Falco
9f77867f0a
Fix outgoing websocket message compression
...
fix #1666
2019-07-29 10:35:41 -07:00
Damian Jarek
a7e932b13c
Remove redundant includes in websocket
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-07-01 19:43:43 +02:00
Damian Jarek
fea681b459
Deduplicate websocket::read_size_hint definition
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-06-25 04:21:52 +02:00
Damian Jarek
b8b04f8f39
Cleanup transitive includes in beast/core/detail/type_traits.hpp
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-06-24 11:07:41 -07:00
Damian Jarek
bc9f63f10d
Cleanup endianness conversions:
...
close #1544
- Use Boost.Endian conversions functions.
- Remove existing private conversion functions.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-04-08 17:14:04 -07:00
Vinnie Falco
8ec1a4d90f
Fix websocket keep-alive ping expiration
2019-04-01 18:14:25 -07:00
Vinnie Falco
9f2b0ce1db
Rename to buffer_bytes
2019-03-05 11:09:53 -08:00
Eelis van der Weegen
9992701a4a
Fix ubsan false positive:
...
* Avoid calling stream() on partially constructed object.
Fixes #1495 , fix #1496
2019-03-03 13:36:31 -08:00
Vinnie Falco
92ad50a8e7
Destroy abandoned websocket ops on shutdown
...
fix #1358
2019-02-27 16:44:01 -08:00
Vinnie Falco
031e13c253
Add websocket service
2019-02-27 16:42:19 -08:00
Vinnie Falco
05b5843e19
Next layer is a base class
2019-02-27 14:48:31 -08:00
Vinnie Falco
6ada618c12
Check BOOST_NO_CXX11_THREAD_LOCAL
2019-02-21 11:09:02 -08:00
Vinnie Falco
28d3b41a43
websocket idle pings
2019-02-20 07:12:36 -08:00
Vinnie Falco
6baa607295
Fixes to support Asio changes (API Change):
...
This adjusts Beast's interfaces and implementation to match
the changes in Boost.Asio.
2019-02-19 16:23:30 -08:00
Vinnie Falco
3f50efa138
WebSocket Decorator is a socket option (API Change):
...
This changes the interface used to apply a decorator to the HTTP
request or response messages used to perform the WebSocket handshake
as follows:
* Add the `stream_base::decorator` option object
* Add `stream::set_option` overload to set the decorator from
the option
* The decorator applies to all client and server handshakes
performed on the stream after the option is set.
* Overloads of the following functions which accept a Decorator
are deprecated:
- accept, accept_ex
- handshake, handshake_ex
- async_accept, async_accept_ex
- async_handshake, async_handshake_ex
Actions Required:
* Code which passes decorator to any `websocket::stream` member
function should call `stream::set_option` instead with a newly
constructed `stream_base::decorator` object containing the
decorator. Alternatively, the macro `BOOST_BEAST_ALLOW_DEPRECATED`
may be defined to 1.
2019-02-19 16:23:30 -08:00
Vinnie Falco
085fb66b26
websocket test coverage
2019-02-18 12:18:27 -08:00
Vinnie Falco
79c777e776
Tidying and fixes
2019-02-18 12:18:27 -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
29f838b9d9
Remove unused enum
2019-01-21 18:58:08 -08:00
Vinnie Falco
9a8e22950f
websocket stream uses shared_ptr<impl_type>
2019-01-21 08:44:14 -08:00