Commit Graph

2055 Commits

Author SHA1 Message Date
Christopher Kohlhoff
608a1789ea Fix handling tracking to work with shallow-const executors. 2015-12-03 11:38:13 +11:00
Christopher Kohlhoff
de40487bc7 Add note about not destroying an SSL stream while there are pending operations. 2015-12-03 10:52:21 +11:00
Christopher Kohlhoff
726fb27680 Fix move constructor used by regex-based async_read_until. 2015-12-03 10:33:28 +11:00
Christopher Kohlhoff
5fa8053983 BoringSSL does not provide CONF_modules_unload. 2015-11-19 10:28:04 +11:00
Christopher Kohlhoff
92bfc623e6 Add new error category and constant for ssl::error::stream_truncated.
This error replaces uses of SSL_R_SHORT_READ, and indicates that the
SSL stream has been shut down abruptly. (I.e. the underlying socket
has been closed without performing an SSL-layer shutdown.)
2015-11-19 10:26:03 +11:00
Christopher Kohlhoff
e9fd1c9727 Regenerate certificates for SSL example. 2015-11-19 10:07:23 +11:00
Christopher Kohlhoff
b79642e7c7 Use CreateEventW rather than CreateEvent. 2015-11-19 10:07:23 +11:00
Christopher Kohlhoff
7d8916137d Pass correct output buffer size to strncat. 2015-11-19 10:07:23 +11:00
Christopher Kohlhoff
eb22276c3b Binders need to use decay to work correctly with references. 2015-10-27 11:03:42 +11:00
Christopher Kohlhoff
d4f7d5cae9 Make executors shallow-const. 2015-10-25 18:32:12 -10:00
Christopher Kohlhoff
fe7dbb75f0 Suppress unused typedef warning when using clang. 2015-10-01 08:47:25 +10:00
Christopher Kohlhoff
6c70257e20 Use SSL_CTX_clear_chain_certs, if available. 2015-10-01 08:44:30 +10:00
Christopher Kohlhoff
522ce627c6 Add aliases for chrono facilities. 2015-06-24 17:19:08 +10:00
Christopher Kohlhoff
8fa67b79ca Refactor detection of compiler thread support. 2015-06-16 08:42:13 +10:00
Christopher Kohlhoff
583e059ae6 Fix MSVC warning. 2015-06-03 09:37:08 +10:00
Christopher Kohlhoff
e2c60ab0b8 Enable noexcept for newer MSVCs. 2015-06-03 09:33:07 +10:00
Christopher Kohlhoff
1d32436b59 Add support for Windows 8.1 store apps. 2015-06-03 08:57:50 +10:00
Christopher Kohlhoff
5b89400ac3 Don't dereference the end iterator when async_connect exhausts the range. 2015-05-30 09:15:56 +10:00
Christopher Kohlhoff
34412f72dd Use correct value for the basic_resolver_results::end() iterator. 2015-05-29 09:55:53 +10:00
Christopher Kohlhoff
81f7fbd8f6 Change type of concurrency_hint to int. 2015-05-23 10:56:34 +10:00
Christopher Kohlhoff
5f9639bc1b Mark buffer functions with noexcept. 2015-05-22 09:28:59 +10:00
Christopher Kohlhoff
70aecd80ca Add data() and size() member functions to buffers.
The buffer_cast function is now deprecated.
2015-05-22 09:28:59 +10:00
Christopher Kohlhoff
24c6d7e3c7 Fix up some I/O objects to use non-deprecated get_executor(). 2015-05-15 09:42:58 +10:00
Christopher Kohlhoff
f1ebd9522f Rename execution_context members to shutdown and destroy.
The execution_context member functions shutdown_context and destroy_context
have been renamed to shutdown and destroy, respectively. Similarly,
execution_context::service::shutdown_service has been renamed to shutdown.
2015-05-13 18:52:59 +10:00
Christopher Kohlhoff
d3bbf3756d Don't provide io_service typedef when ASIO_NO_DEPRECATED is defined. 2015-05-11 09:29:32 +10:00
Christopher Kohlhoff
47b956f539 Regenerate documentation. 2015-05-11 07:58:57 +10:00
Christopher Kohlhoff
45124f33b8 Rename io_service to io_context. 2015-05-11 07:58:57 +10:00
Christopher Kohlhoff
b056bff78d Fix some long lines. 2015-05-10 21:00:36 +10:00
Christopher Kohlhoff
1eb5936c25 Rename executor_work to executor_work_guard. 2015-05-10 20:59:08 +10:00
Christopher Kohlhoff
ee382429ef Rename address_v4's to_ulong() to to_uint() and add uint_type typedef. 2015-05-10 20:20:02 +10:00
Christopher Kohlhoff
66a8bbd68f Ifdef out deprecated address member functions. 2015-05-10 20:03:06 +10:00
Christopher Kohlhoff
20ca1e1d2a Rename wrap() to bind_executor().
The executor_wrapper class has been temporarily renamed to executor_binder.
This name will probably change.
2015-05-10 19:42:42 +10:00
Christopher Kohlhoff
c406fa7ce7 Remove address_cast. 2015-05-10 19:42:41 +10:00
Christopher Kohlhoff
15803ab00b Prevent multiple definition of ASIO_ERROR_CATEGORY_NOEXCEPT with newest MSVC. 2015-05-06 09:56:46 +10:00
Christopher Kohlhoff
fcf901ecb3 Update thread-private work count when epoll operations are not complete. 2015-05-03 22:36:38 +10:00
Christopher Kohlhoff
5ab5356e33 Disable old resolver functionality if ASIO_NO_DEPRECATED is defined. 2015-05-03 15:27:26 +10:00
Christopher Kohlhoff
69ff104a00 Code fixes so that the boostify script works. 2015-05-03 12:40:17 +10:00
Christopher Kohlhoff
74fe2b8e14 Deprecate resolver::query. Use overloads of resolve and async_resolve. 2015-05-03 12:07:21 +10:00
Christopher Kohlhoff
bc4eec8ebc Use range-based interface for returning resolver results. 2015-05-03 12:07:21 +10:00
Christopher Kohlhoff
99c95166c9 Fix typo in comment. 2015-05-03 08:53:34 +10:00
Christopher Kohlhoff
cba39c6af7 Add allocator-aware accessors to ip::basic_resolver_entry. 2015-05-03 08:53:34 +10:00
Christopher Kohlhoff
9c8d15c6b2 Disable __thread keyword extension for android+x86+clang. 2015-05-03 08:53:34 +10:00
Christopher Kohlhoff
1d19a00601 Fixes for solaris. 2015-04-17 09:52:11 +10:00
Christopher Kohlhoff
5bb7a7419a Extend handler tracking to cover reactor-related events. 2015-03-31 19:12:14 +11:00
Christopher Kohlhoff
b2e85caeb3 Don't push/pop options around Boost.DateTime header. 2015-03-23 09:35:47 +11:00
Christopher Kohlhoff
e1c06ac350 Fix integer conversion warnings on 64-bit Windows. 2015-03-22 08:15:40 +11:00
Christopher Kohlhoff
aa21de0944 Remove redundant pointer check in SSL engine. 2015-03-22 08:15:31 +11:00
Christopher Kohlhoff
4b07c86ecf Fix race condition in windows::object_handle. 2015-03-22 08:15:23 +11:00
Christopher Kohlhoff
765918cd31 Use default visibility everywhere. 2015-03-21 18:27:03 +11:00
Christopher Kohlhoff
3c3e59576e Fix mismatched #endif comments. 2015-03-21 08:43:51 +11:00