Damian Jarek
13322fa4bb
Use mp11 in detail::variant
...
Reduce compilation cost for all components dependent on variant.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-22 07:39:26 -08:00
Damian Jarek
98ff568371
Use lean_tuple in bind_handler, bind_front_handler
2018-11-21 12:47:59 -08:00
Damian Jarek
d40255b357
Use lean_tuple in buffers_cat
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-21 12:47:38 -08:00
Damian Jarek
b97169f26b
Add detail::lean_tuple
...
Provides a subset of std::tuple functionality, for internal use
to reduce the resources required during compilation.
Does not support reference-like semantics on assignment.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-21 12:47:38 -08:00
Damian Jarek
65827558b8
Simplify some type traits:
...
Several type traits are simplified and optimized to
reduce compile time and memory consumption.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-21 12:47:38 -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
d581bcc348
Add bind_front_handler:
...
This works similarly to bind_handler, and can help with reducing
template instantiations and compiler memory usage (since it does
not need to support placeholders).
A specialization for the most common case `void(error_code, size_t)`
is provided to minimize instantiation cost.
2018-11-21 12:47:38 -08:00
Damian Jarek
868ca0f470
Add mp11 to CI build
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-21 12:47:38 -08:00
Vinnie Falco
9666178957
Fix Doxygen configuration
2018-11-21 12:10:52 -08:00
Vinnie Falco
d4c5dc2747
Set version to 190
2018-11-20 20:51:51 -08:00
Vinnie Falco
6ffef38dc4
Fix visibility warnings in test
2018-11-20 20:51:45 -08:00
Damian Jarek
5ade2a5050
Tidying:
...
fix #1311 , fix #1310 , fix #1309
* Remove unused include directive
* Remove redundant static_assert
* Remove redundant use of bind_handler
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-20 18:07:35 -08:00
Damian Jarek
9816d61f38
Improve compilation of tests for continuous integration:
...
fix #1293
* Build ASIO's non-template entities into a static library
to reduce the compiler's memory usage during test compilation.
* Retry as single-threaded build after the first build failure.
2018-11-20 18:07:33 -08:00
Vinnie Falco
c18f3f0ef1
Rename to _experimental directory
2018-11-12 06:52:39 -08:00
Vinnie Falco
071cab92d5
Add buffers_range
2018-11-12 06:39:36 -08:00
Vinnie Falco
450964b78f
Squashed 'doc/docca/' changes from 1bfc5ede..df9bd956
...
df9bd956 Add deduced alias
220ded9a Add see-below alias
git-subtree-dir: doc/docca
git-subtree-split: df9bd956e2480467447c80ffae3b44b3c0b0756a
2018-11-11 22:25:56 -08:00
Vinnie Falco
0f3696f2ec
Unit test framework is experimental
2018-11-11 13:56:05 -08:00
Vinnie Falco
f997a63204
Add missing includes to convenience headers
2018-11-09 13:47:36 -08:00
Vinnie Falco
1ca690db06
Set version to 189
boost-1.69.0-beta1
2018-11-08 16:46:46 -08:00
Vinnie Falco
bc2f5f1426
Add CppCon2018 chat server example and video
2018-11-08 16:46:38 -08:00
Vinnie Falco
e7e3fdb808
Set version to 188
2018-11-03 19:30:21 -07:00
Vinnie Falco
04bac8dce9
Remove extraneous strand from example
...
fix #1288
2018-11-03 19:30:16 -07:00
Damian Jarek
1cdc1e3181
Add missing include in http/read.ipp
...
Fixes a compilation error that occurred when using
BOOST_ASIO_SEPARATE_COMPILATION.
Resolves : #1286
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-03 19:30:15 -07:00
Vinnie Falco
215896723f
Test for gcc warning bug
2018-11-03 19:30:15 -07:00
Vinnie Falco
8962588cec
Fix a spurious gcc warning
2018-11-03 18:43:21 -07:00
Vinnie Falco
8fc9b85795
Set version to 187
2018-11-01 21:11:12 -07:00
Vinnie Falco
65434a0cba
Partial support for BOOST_NO_EXCEPTIONS:
...
Some stream operations are modified to use a
helper function which supports BOOST_NO_EXCEPTIONS.
2018-11-01 21:10:54 -07:00
Vinnie Falco
335f5c2333
Add detail::dynamic_buffer_prepare:
...
This function acts as a bottleneck for handling
exceptions thrown by dynamic buffers.
2018-11-01 21:10:54 -07:00
Vinnie Falco
30ca9c59d3
Fix uninitialized comparison in buffers iterator
...
fix #1263
2018-11-01 21:10:54 -07:00
Vinnie Falco
093af24e2b
Fix warning in file tests
2018-10-28 21:19:12 -07:00
Vinnie Falco
ef0658f678
Add experimental timeout_socket:
...
This is a socket wrapper which has a built-in timeout feature on
reads and writes.
2018-10-28 19:43:28 -07:00
Vinnie Falco
f4c3e52a8c
Set version to 186
2018-10-20 08:40:31 -07:00
compmaniak
955b7b31a5
Fix parsing of out-of-bounds hex values
...
fix #1267
2018-10-20 08:40:27 -07:00
Nikita Kniazev
1e03de3faf
Update the build guide with cxxstd
...
fix #1271
2018-10-20 08:40:27 -07:00
Vinnie Falco
29e9ad5370
basic_fields uses intrusive base hooks:
...
fix #1270
basic_fields::value_type uses base hooks instead of member hooks,
otherwise MSVC can sometimes produce undefined behavior when
attempting to recover the base class from a data member in
certain build configurations.
2018-10-19 17:42:30 -07:00
Vinnie Falco
2b461cfe75
Revert "Skip master branch on Travis OSX (fix)"
...
This reverts commit 8935678dc0 .
2018-10-09 18:33:22 -07:00
Vinnie Falco
ec1c8ada7a
Set version to 185
2018-10-07 18:35:53 -07:00
Vinnie Falco
8935678dc0
Skip master branch on Travis OSX (fix)
2018-10-07 18:35:23 -07:00
Vinnie Falco
a44e5f45e9
Set version to 184
2018-10-07 10:55:14 -07:00
Vinnie Falco
99d47dd24f
Skip master branch on Travis OSX
2018-10-07 10:55:11 -07:00
jarle
2b977f2770
Fix timer on websocket upgrade in examples
...
fix #1091 , fix #1240 , fix #1253
2018-10-07 10:38:36 -07:00
Domen Vrankar
806979e37b
Add BOOST_BEAST_USE_STD_STRING_VIEW:
...
fix #1133 , fix #1241
When the macro BOOST_BEAST_USE_STD_STRING_VIEW is defined,
Beast will use std::string_view instead of boost::string_view.
The name boost::beast::string_view is a type alias for the
chosen view type.
2018-10-07 10:38:36 -07:00
luz.paz
f3212eba48
Fix some typos:
...
fix #1255
Found via `codespell -q 3 -L uint,te,tim --skip="./test/extern/zlib*,./example/http/client/crawl*"`
2018-10-07 10:35:12 -07:00
Vinnie Falco
e2d192ec78
Remove extraneous function
2018-10-07 10:35:12 -07:00
Vinnie Falco
65022367bb
Set version to 183
2018-09-23 19:08:34 -07:00
Vinnie Falco
82e87ea188
Workaround for http-server-fast and libstdc++:
...
This fixes a problem where libstdc++ incorrectly assumes that the
allocator used with basic_string is DefaultConstructible.
See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56437
2018-09-23 19:08:30 -07:00
Glen Fernandes
5e98c78951
Use boost::empty_value
...
fix #1233
2018-09-23 10:12:08 -07:00
PeterW3
4643b0565e
Verify certificates in client examples:
...
fix #1237
HTTP client examples now verify the server's certificate
and generate an error if the certificate is invalid or
expired:
* Set certificate verify mode
* Remove duplicate root certificate
2018-09-23 10:12:08 -07:00
Jason Rice
cd33d4cbb4
Fix README hyperlink
...
fix #1238
2018-09-23 10:12:08 -07:00
Boris Sergeev
a4c008907d
Fix a rare case of incorrect UTF8 validation
...
fix #1245 , fix #1249
The value used to fill the incomplete code point buffer is
changed to a character which no longer causes
utf8_checker::valid() to incorrectly return false.
2018-09-23 10:12:07 -07:00