Christopher Kohlhoff
20a1c25e98
Copy of apple-networking-branch of chriskohlhoff/asio.
...
As of commit 5345381a829da14cf7d44ac3e21f041d7a29fe17
2020-05-26 20:26:23 +10:00
Christopher Kohlhoff
d114cff2d2
Version bump.
2020-04-22 21:55:36 +10:00
Christopher Kohlhoff
c0999c8e69
Revision history.
2020-04-22 21:52:28 +10:00
Christopher Kohlhoff
c9dadbd239
Update tutorial text to use current resolver API.
2020-04-22 18:38:07 +10:00
Christopher Kohlhoff
c7cf0ae0cf
Fix incorrect overload selection due to injected class name.
2020-04-21 18:05:20 +10:00
Christopher Kohlhoff
c506fc5f9a
Replace '\n' with '[br]' in documentation.
2020-04-21 17:59:58 +10:00
Christopher Kohlhoff
325d3526c0
Update POSIX links.
2020-04-21 17:59:45 +10:00
Christopher Kohlhoff
c2795229e9
Remove unused local variable.
2020-04-08 18:12:32 +10:00
Christopher Kohlhoff
2094aa8ca4
Use boost.bind placeholders from boost::placeholders namespace.
2020-04-08 18:05:13 +10:00
Christopher Kohlhoff
17ad33715a
Add c++14 versions of executor examples.
2020-04-08 17:48:10 +10:00
Christopher Kohlhoff
92f38a0826
Call {shutdown,destroy} on priority_scheduler destruction.
2020-04-08 17:47:16 +10:00
Christopher Kohlhoff
371f4de392
Fix use of rebind_executor in use_awaitable.as_default_on.
2020-04-08 17:43:00 +10:00
Christopher Kohlhoff
94416dec93
Regenerate documentation.
2020-04-07 11:46:49 +10:00
Christopher Kohlhoff
53c56a857d
Add link to C++14 examples section.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
cc5d523aee
Fix comments with incorrect ASIO_HAS_TYPE_TRAITS to use ASIO_HAS_STD_TYPE_TRAITS.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
34318996a2
Add emscripten compatibility patches (Use O_NONBLOCK instead of FIONBIO + Fix usage of strerror_r).
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
d3a0dc2d8b
TV titles are also windows apps.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
33412a42bb
Remove unnecessary null pointer checks.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
3654215317
Add ssl::context constructor to take ownership of a native handle.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
c9382b9b42
Fix compile error in buffered streams due to lack of reference collapsing in C++98.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
094aba17f4
Recreate the socket_select_interrupter's sockets on error.
...
On some versions of Windows, it seems that "self pipe trick" sockets may
be disconnected after a system sleep. To work around this, we recreate
the sockets following an error on read.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
c1a3addbba
Fix a Windows-specific thread_pool destructor hang when the pool has an associated I/O object.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
85108a9f57
Speed up documentation generation.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
8345e0a182
Suppress non-virtual destructor warnings.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
60e491a9e4
Propagate non-EOF errors from add_certificate_authority.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
84e14b0452
Remove incorrect handler requirement checks in async_read that were accidentally left behind.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
70e2c7db78
Update overview to reflect that handlers are only required to be move constructible.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
8241ccee3f
Add missing doxygen marker in executor_work_guard documentation.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
53e91db69d
Fix build on current NetBSD.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
959798ee7a
Ensure resolver is restarted correctly after a fork.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
7b6ac4f001
Fix strand<> converting construction and assigment.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
5057b168d4
Test calls to buffer_sequence_begin/end.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
62dad58386
Add ssl::host_name_verification.
...
The ssl::host_name_verification class is a drop-in replacement for
ssl::rfc2818_verification, which it supersedes. The
ssl::rfc2818_verification class has been marked as deprecated.
Thanks to Arvid Norberg for providing the implementation.
2020-04-07 11:44:28 +10:00
Christopher Kohlhoff
df4d3c18fd
Fix work counting issue in asynchronous resolver endpoint implementation.
2020-04-07 11:20:20 +10:00
Christopher Kohlhoff
18305828ab
Mark posix descriptor classes' move constructors as noexcept.
2020-04-07 11:19:15 +10:00
Christopher Kohlhoff
a707db8193
Support C++20 concept syntax.
2020-04-07 11:18:31 +10:00
Christopher Kohlhoff
bd6d59e65e
When using gcc, use __cplusplus macro to determine language conformance.
2020-04-07 11:17:33 +10:00
Christopher Kohlhoff
4b552cfd5b
Update copyright notices.
2020-04-07 11:15:42 +10:00
Christopher Kohlhoff
8d3fbc7b26
Remove deprecated archetypes.
2020-04-07 11:13:34 +10:00
Christopher Kohlhoff
95f7e93635
Version bump.
2019-12-05 00:34:58 +11:00
Christopher Kohlhoff
5b6dc5ba74
Update diagrams to use io_context rather than io_service.
2019-12-05 00:34:39 +11:00
Christopher Kohlhoff
4bb5257f45
Revision history.
2019-12-05 00:18:44 +11:00
Christopher Kohlhoff
ffa958f1f4
Regenerate documentation.
2019-12-04 23:47:31 +11:00
Christopher Kohlhoff
6f0c944895
Fix cross referencing for InnerExecutor template parameters.
2019-12-04 23:40:58 +11:00
Christopher Kohlhoff
81dc9a91c2
Documentation for default completion tokens.
2019-12-04 23:40:58 +11:00
Christopher Kohlhoff
f74937cdd6
Don't specify default token on some async_write overloads.
...
Eliminates an ambiguity.
2019-12-03 20:13:24 +11:00
Christopher Kohlhoff
dfc8da28c1
Start handler work again in case of restarting accept operation.
2019-12-03 20:12:53 +11:00
Christopher Kohlhoff
a69af4d982
Specify default baud rate when opening serial port on Windows.
2019-12-03 20:10:04 +11:00
Christopher Kohlhoff
2c29ad2e98
Fix constant used to initialise the serial port RTS control flag on Windows.
2019-12-03 20:06:48 +11:00
Christopher Kohlhoff
5225384b4d
Use feature-test macro for detecting return type deduction.
2019-12-03 20:06:15 +11:00