Commit Graph

2483 Commits

Author SHA1 Message Date
Christopher Kohlhoff
fe5470f4f3 Use new post() in serialization example. 2017-12-01 19:50:51 +11:00
Christopher Kohlhoff
45dcb33c2e Use asio::coroutine in latency tests. 2017-12-01 19:50:51 +11:00
Christopher Kohlhoff
e556aed8d9 Update invocation examples to use executors. 2017-12-01 19:50:51 +11:00
Christopher Kohlhoff
5a9d0721d8 Fix up reference to post(). 2017-12-01 12:21:36 +11:00
Christopher Kohlhoff
24050d5ea3 Show how to associate an executor using nested type and member function. 2017-12-01 12:21:36 +11:00
Christopher Kohlhoff
b02c6c7582 Update allocation overview and examples to use new form. 2017-12-01 12:21:36 +11:00
Christopher Kohlhoff
3218be74ec Fix typo in strands overview. 2017-11-30 08:08:07 +11:00
Christopher Kohlhoff
3152e77f84 Increase number of buffers per operation for consuming_buffers.
Use a smaller number of buffers when the count can be determined at compile
time, e.g. for std::array or boost::array.
2017-11-30 07:50:59 +11:00
Christopher Kohlhoff
5acae19713 Increase threshold for small memory block recycling to 1KB. 2017-11-29 09:16:49 +11:00
Christopher Kohlhoff
986ef7361b Make sure asio/system_context.hpp is self-contained. 2017-11-28 09:26:19 +11:00
Christopher Kohlhoff
c80c1cbd5c Don't call memcpy with length 0, to avoid passing null pointers. 2017-11-27 09:29:16 +11:00
Christopher Kohlhoff
ede4e7597d Fix description of std::getline's behaviour. 2017-11-27 09:29:16 +11:00
Christopher Kohlhoff
60170d6259 Fix copy/paste error in comment. 2017-11-27 09:29:16 +11:00
Christopher Kohlhoff
cff2b49988 Fix clang narrowing warning. 2017-11-27 09:29:16 +11:00
Christopher Kohlhoff
a405709194 Fix incorrect hyperlink target. 2017-11-27 09:29:10 +11:00
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