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
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
f15bbf10b4
flat_stream tests and tidy
2019-02-08 10:57:58 -08:00
Vinnie Falco
812a19706a
Improvements to test::stream:
...
The behavior of the test stream when either
end is destroyed or closed is well-defined.
2019-02-06 21:21:25 -08:00
Damian Jarek
34362256c0
Fixes to test::stream::async_read:
...
- Call the completion handler with the correct signature
- Replicate ASIO socket behavior of async operation completions
- Fix a data race between read_op and a call to stream::nread()
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-02-05 16:14:45 -08:00
Vinnie Falco
4b7c33d781
Remove unnecessary file
2019-02-04 19:53:11 -08:00
Vinnie Falco
35dbd140d4
Add buffer_size
2019-02-03 12:59:11 -08:00
Vinnie Falco
5b0b218d96
test::stream maintains a handler work guard
...
fix #1418
2019-02-02 10:30:12 -08:00
Vinnie Falco
d8a23776d4
Tidy up experimental files
2018-12-12 19:32:22 -08:00
Vinnie Falco
f995fd41a3
net is a namespace alias for boost::asio:
...
The namespace alias beast::net replaces boost::asio in all code
and documentation.
2018-12-02 17:51:43 -08:00
Damian Jarek
8930d437b5
Enable explicit instantiation of websocket::stream:
...
fix #1279 , close #1319
This enables users to improve compilation performance by explicitly
instantiating the stream template in another TU.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-26 18:38:09 -08:00
Damian Jarek
836042fd24
Fix test::stream async_result transformation:
...
close #1322
async initiating functions must return init.result.get(). Returning the
result of post caused a compilation failure for custom completion tokens.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-26 16:02:44 -08:00
Vinnie Falco
15dd535c24
Use bind_front_handler:
...
The implementation uses bind_front_handler to reduce the
resources consumed when instantiating templates during
compilation.
2018-11-21 12:47:38 -08:00
Vinnie Falco
c18f3f0ef1
Rename to _experimental directory
2018-11-12 06:52:39 -08:00