Christopher Kohlhoff
fcaf75700b
Remove last remaining instance of auto_ptr.
2017-11-26 18:33:54 +11:00
Christopher Kohlhoff
fddf89126a
Restore binder support for 3, 4 and 5 arguments.
2017-11-26 08:43:26 +11:00
Christopher Kohlhoff
096660c474
Fix double delete issue introduced by 47b9319acb
.
2017-11-22 16:41:31 +11:00
Christopher Kohlhoff
b44805ff00
Add backward compatibility for the old ConnectCondition form.
2017-11-07 22:57:58 +11:00
Christopher Kohlhoff
09c69982e7
Ensure make_network_vX error_code overload doesn't throw on invalid prefix length.
2017-11-07 21:17:57 +11:00
Ion Rosca
f4fecdfe45
Fix the rights for event objects on UWP.
2017-11-07 07:36:22 +11:00
Christopher Kohlhoff
2943ee65fd
Suppress implicit fallthrough warning on newer gcc.
2017-11-07 07:30:45 +11:00
Christopher Kohlhoff
b441bf70b5
Fix clang version detection for suppression of unused typedef warning.
2017-11-07 06:54:32 +11:00
Christopher Kohlhoff
565c6e8fa6
Fix compile errors in some asio::connect overloads.
2017-11-02 07:41:50 +11:00
Christopher Kohlhoff
d52b816466
Bump minimum MSVC version required for C++11 allocators.
2017-10-25 07:45:00 +11:00
Justin Kerk
5618fadb11
Fix compile warning under Emscripten
2017-10-24 08:20:50 +11:00
Guillaume Egles
b2367dab23
Use proper SSL_version() function so that asio can build with BoringSSL.
2017-10-24 08:20:50 +11:00
Christopher Kohlhoff
cfe47e71d5
Regenerate documentation.
2017-10-24 08:01:15 +11:00
Christopher Kohlhoff
6377b04669
Patch up some template links.
2017-10-24 07:58:36 +11:00
Christopher Kohlhoff
2bda4b85c2
Add new macros to doxygen configuration.
2017-10-24 07:58:27 +11:00
Christopher Kohlhoff
4a4d28b0d2
Qualify use of error_code.
2017-10-23 20:52:30 +11:00
Christopher Kohlhoff
e39a95a73e
Fix boostify.pl to work with latest code.
2017-10-23 20:52:30 +11:00
Christopher Kohlhoff
2ccb648f44
Only obtain associated allocator when handler is known to be valid.
2017-10-23 08:05:08 +11:00
Christopher Kohlhoff
230c0d2ae0
Asynchronous accept should not check user-set non-blocking flag.
2017-08-17 09:47:08 +10:00
Christopher Kohlhoff
862aed305d
Require gcc >= 4.7 to use standard atomics.
2017-07-30 09:59:25 +10:00
Christopher Kohlhoff
a0d28e5a7d
Don't use auto_ptr.
2017-07-30 09:52:22 +10:00
Christopher Kohlhoff
15e136fa80
Use deregister_internal_descriptor in signal_set_service.
2017-07-30 09:23:51 +10:00
Christopher Kohlhoff
59330e825d
Put detail/config.hpp include first in detail/string_view.hpp.
2017-07-30 07:33:54 +10:00
Jean-Michaël Celerier
d6144828be
Only enable string_view with /std:c++17 on MSVC.
2017-07-30 07:28:41 +10:00
Christopher Kohlhoff
c2cb5395ec
Use hook allocation strategy whenever associated allocator is std::allocator.
2017-07-29 20:00:30 +10:00
Christopher Kohlhoff
5b4aa5ef9b
Make epoll_reactor resistant to events with duplicate user data.
2017-07-29 19:04:38 +10:00
Christopher Kohlhoff
47b9319acb
Don't free the reactor's per-descriptor state until after close.
2017-07-29 19:04:38 +10:00
Christopher Kohlhoff
cbf6876530
Fix compile errors in dev_poll_reactor.
2017-07-29 12:01:10 +10:00
Christopher Kohlhoff
870124ab50
Add missing 'else' in epoll_reactor's handler tracking support.
2017-07-29 12:01:10 +10:00
Christopher Kohlhoff
b37b9449e0
Clean up socket release() implementation for reactor-based platforms.
2017-07-29 12:01:01 +10:00
Christopher Kohlhoff
f5c570826d
Add out_of_band_inline socket option.
2017-07-16 00:39:49 +10:00
Christopher Kohlhoff
7f849376c8
Expose the system_executor's execution context as system_context.
2017-07-16 00:30:00 +10:00
Christopher Kohlhoff
9f62b67911
Update io_context run* documentation.
2017-07-15 20:45:37 +10:00
Christopher Kohlhoff
ac89cf0ba2
Enable newer language features for recent MSVC versions.
2017-07-15 19:43:35 +10:00
Christopher Kohlhoff
64ae9bcaee
Add alias templates for associators.
2017-07-15 19:10:30 +10:00
Christopher Kohlhoff
e502a6b364
Use shorter enum name resolver_errc::try_again.
2017-07-15 18:46:59 +10:00
Christopher Kohlhoff
b3ebdd8f6d
Use ADL for calls to buffer_size.
2017-07-15 18:30:29 +10:00
Iwa13
c516cd591d
Fix non-dereferencing pointer overflow in basic_streambuf::commit.
2017-07-15 16:31:11 +10:00
Christopher Kohlhoff
b8a34a1dc0
Fix work counting issue in asynchronous resolver implementation.
2017-07-15 16:27:46 +10:00
Arun M
48e7ef864f
is_continuation misplaced in reactive socket service
2017-07-15 16:09:28 +10:00
Christopher Kohlhoff
5adce6e267
Use poll.h rather than sys/poll.h if possible.
2017-07-15 16:08:08 +10:00
Bence SZIGETI
ddef4994f4
Avoid exception throwing from make_network_v{4,6}(str, ec)
2017-07-15 16:01:53 +10:00
Christopher Kohlhoff
0442bc922f
Disable Boost.Chrono's dependency on Boost.System.
2017-07-15 15:41:40 +10:00
Christopher Kohlhoff
6c5b04eff1
Conditionally enable iostream move constructor and assignment.
2017-07-15 15:17:45 +10:00
Christopher Kohlhoff
a3bba3394d
Fix version check for string_view.
2017-07-15 13:43:14 +10:00
Christopher Kohlhoff
246f387e74
Fix compile error on gcc 4.8.
2017-07-15 13:33:24 +10:00
Christopher Kohlhoff
fd024792c1
Add -lrt when linking on linux.
2017-07-15 13:33:24 +10:00
Christopher Kohlhoff
0921ab3db6
Simplify automatic detection of boost source distributions.
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
6b34f88a5d
Make SSL/TLS version handling more consistent across OpenSSL versions.
...
This adds new enums context_base::tls, context_base::tls_client and
context_base::tls_server. These allow connections to use any supported
TLS version. (N.B. the deprecated version SSLv3 is explicitly disabled
if you use these values.)
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
1517bd1a1d
Add travis and appveyor configuration.
2017-07-15 13:33:23 +10:00