Vinnie Falco
1432d336be
Move parser definitions to .ipp
2019-03-02 09:13:08 -08:00
Vinnie Falco
edf5b7cd03
Fix HTTP parser static string calculation
2019-03-02 09:13:08 -08:00
Vinnie Falco
fca4b3ae10
make_strand is in net::
2019-03-02 07:33:57 -08:00
Vinnie Falco
8c53abe6e5
Support -fno-exceptions
2019-03-01 13:52:50 -08:00
Vinnie Falco
737d7a97e6
Remove session_alloc (API Change)
...
* session_alloc is removed, as it does not improve
performance as intended.
Actions Required:
* Don't use session_alloc
2019-03-01 12:02:40 -08:00
Vinnie Falco
272b6f23e4
Examples use flat_buffer
...
fix #1488
2019-03-01 12:02:28 -08:00
Vinnie Falco
7806672f42
Fix wsload jamfile
2019-03-01 11:28:44 -08:00
Vinnie Falco
bf2523b190
Tidy up an unused function
2019-03-01 11:02:52 -08:00
Vinnie Falco
00487f1de6
Reusing an HTTP parser returns an error
2019-02-28 10:27:43 -08:00
Vinnie Falco
8eb15148d7
Advanced servers use HTTP parser interfaces for reading
2019-02-28 10:04:52 -08:00
Vinnie Falco
16280f9991
Remove extraneous error check in advanced-server-flex
...
fix #1484
2019-02-28 07:54:20 -08:00
Vinnie Falco
92ad50a8e7
Destroy abandoned websocket ops on shutdown
...
fix #1358
2019-02-27 16:44:01 -08:00
Damian Jarek
72a99c43a7
Pausation abandoning test
...
Check if paused operations are correctly abandoned when the
ExecutionContext shuts down.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-02-27 16:42:41 -08:00
Vinnie Falco
031e13c253
Add websocket service
2019-02-27 16:42:19 -08:00
Vinnie Falco
c510662c67
Add test::stream::service
2019-02-27 14:05:16 -08:00
Vinnie Falco
8f9eed1faf
stream_base::timeout::suggested is a nested function
2019-02-27 06:52:45 -08:00
Vinnie Falco
7953ac281f
Pass references as pointers to async_initiate
2019-02-26 07:21:05 -08:00
Vinnie Falco
ab9a4c66e0
Doc work
2019-02-26 07:21:04 -08:00
Vinnie Falco
0647c902ac
role_type is in boost/beast/core/role.hpp (API Change):
...
This enumeration is now part of the library core and
not specific to websocket.
2019-02-26 07:20:46 -08:00
Vinnie Falco
81f33a0f89
Rename to async_base, stable_async_base
2019-02-26 07:20:08 -08:00
Vinnie Falco
6331e03a3a
OpenSSL is required for tests and examples
2019-02-23 11:15:59 -08:00
Vinnie Falco
59bda5d9c6
basic_parser is abstract, not CRTP (API Change):
...
* `basic_parser` now uses pure virtual member functions instead
of the curiously recurring template pattern.
Actions Required:
* Change uses of the `basic_parser` type to omit the `Derived`
template parameter
* Classes derived from `basic_parser` no longer need to friend
the base.
* Virtual functions in the derived class may be marked `override`.
2019-02-23 11:15:59 -08:00
Vinnie Falco
bbd62dd181
ssl_stream is a public interface
2019-02-23 09:57:45 -08:00
Vinnie Falco
094f5ec5cb
Better treatment of SSL short reads:
...
fix #38
This improves the behavior when encountering a short read:
* Any stream error encountered during a read is converting into
`http::error::partial_message` if some data was received but
the message is incomplete.
* Examples squelch SSL short read errors from the logs.
2019-02-23 08:56:59 -08:00
Vinnie Falco
73c7f3ea3e
Visual Studio 2017 minimum requirement for Windows
2019-02-22 18:46:09 -08:00
Damian Jarek
d048aa8e7e
More split definitions in test::stream
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-02-22 17:42:44 -08:00
Vinnie Falco
955354b9dd
Enable split Beast compilation for tests
2019-02-22 17:27:27 -08:00
Damian Jarek
4a5ab9785c
Add OpenSSL installation/setup instructions
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-02-22 17:27:11 -08:00
Vinnie Falco
90b783cb62
detect_ssl, async_detect_ssl are public interfaces
2019-02-22 15:39:34 -08:00
Vinnie Falco
ee13bfad70
Fast prng is pcg
2019-02-21 13:19:23 -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
51994d133f
Release notes
2019-02-20 18:58:59 -08:00
Vinnie Falco
c3c3777661
Pass strand to async_accept
2019-02-20 15:30:03 -08:00
Vinnie Falco
fd4b080a4a
RatePolicy documentation
2019-02-20 15:30:03 -08:00
Vinnie Falco
28d3b41a43
websocket idle pings
2019-02-20 07:12:36 -08:00
Vinnie Falco
28f5921bd6
Set version to 216
2019-02-20 07:12:11 -08:00
Vinnie Falco
23a7bcc67e
Add RatePolicy to basic_stream
2019-02-19 16:23:30 -08:00
Vinnie Falco
ac24e58fb3
Add make_strand
2019-02-19 16:23:30 -08:00
Vinnie Falco
fc7b47fc5d
Use suggested timeouts in Websocket examples
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
00e8c381cd
Examples use ssl_stream
...
fix #1455
2019-02-16 15:09:35 -08:00
Vinnie Falco
22dcb4a3cb
example/cppcon2018 is removed:
...
* Replaced by websocket-chat-multi
2019-02-16 15:09:35 -08:00
Vinnie Falco
f41363c60c
Add async_op_base::invoke
2019-02-16 15:09:33 -08:00
Vinnie Falco
fdaf2ea7e1
Rename to async_op_base::invoke_now
2019-02-16 13:36:01 -08:00
Vinnie Falco
a781285e2f
Add experimental test/handler.hpp
2019-02-16 13:36:01 -08:00
Vinnie Falco
18447553ca
Examples use bind_front_handler
2019-02-14 17:28:54 -08:00
Vinnie Falco
92add2afa6
bind_front_handler works with member functions
2019-02-14 16:16:04 -08:00
Vinnie Falco
d410b429c0
Remove bind_back_handler
2019-02-14 16:11:14 -08:00