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
Christopher Kohlhoff
70249b7969
Use GetModuleHandleA rather than GetModuleHandle.
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
582ed12f7c
Update copyright notices.
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
b6ac42dde0
Remove unused error code variable.
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
d52f28a097
Add missing rvalue cast in use_future implementation.
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
b33b3ae011
Unlocked reactor I/O implies a concurrency hint of 1.
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
cf351c44a4
Don't use non-portable sockaddr_storage member ss_len.
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
bbe092b3d7
Simplify and improve performance of executor operations.
2017-07-15 13:33:23 +10:00
Christopher Kohlhoff
e5acea17d7
Add shallow-constness to strands.
2017-03-31 07:25:12 +11:00
Christopher Kohlhoff
00a85845ec
Eliminate redundant copy as executors are now shallow-const.
2017-03-31 07:25:12 +11:00
Christopher Kohlhoff
524288cb4f
Use separate concurrency locking hint for reactor I/O vs registration.
2017-03-13 08:36:45 +11:00
Christopher Kohlhoff
ca6aa0cd38
Android API level 21 or later is required for pthread_condattr_setclock.
2017-03-13 07:38:37 +11:00
Christopher Kohlhoff
ba2c3e140e
Ensure winsock2.h is included before windows.h.
2017-03-05 22:15:42 +11:00
Christopher Kohlhoff
1a259ece1a
LibreSSL doesn't provide SSL_CTX_clear_chain_certs.
2017-03-05 22:07:25 +11:00
Christopher Kohlhoff
3d5367da14
Cast the result of GetProcAddress.
2017-03-05 21:58:10 +11:00
Ryan Pavlik
13aff85067
Fix configure.ac to support mingw64
2017-03-05 21:51:52 +11:00
ala
b4149d5aa7
Replace commas by semicolons
...
clang 3.9.0 has a new warning:
possible misuse of comma operator here [-Wcomma]
2017-03-05 21:46:43 +11:00
Christopher Kohlhoff
ced6124d2c
Fix mutex initialisation for Windows 8.1 store apps.
2017-03-05 20:10:34 +11:00
Christopher Kohlhoff
1ea732c562
Make sure asio/ssl/error.hpp is self-contained.
2017-03-05 19:46:10 +11:00