Christopher Kohlhoff
18ab5cee19
Fix some shadow warnings.
2015-02-15 11:09:26 +11:00
Christopher Kohlhoff
8d08c7e08e
Move result into coro_handler.
2015-02-15 11:09:17 +11:00
Christopher Kohlhoff
a8b694752e
Add support for dynamic buffer sequences.
...
This commit adds:
- New dynamic_string_buffer and dynamic_vector_buffer adapter classes that meet
the DynamicBufferSequence type requirements.
- New dynamic_buffer() factory functions for creating a dynamic buffer adapter
for a vector or string.
- New overloads for the read(), async_read(), write() and async_write(),
read_until() and async_read_until() free functions.
N.B. the read_at, async_read_at, write_at and async_write_at functions have not
yet been updated to support dynamic buffer sequences.
2015-02-15 10:59:09 +11:00
Christopher Kohlhoff
33ae61e76e
std::addressof isn't available until g++ 4.6.
2015-02-15 10:52:44 +11:00
Christopher Kohlhoff
d35db94c12
Move result of a yield_context operation.
2015-02-15 10:52:43 +11:00
Christopher Kohlhoff
c13d36c1c5
Fix unsigned int overflow reported by clang's integer sanitizer.
2014-12-20 11:01:38 +11:00
Christopher Kohlhoff
143a16fb63
Automatically support clang with libstdc++ when standalone.
2014-12-20 10:46:24 +11:00
Christopher Kohlhoff
bdeaf9a277
Ensure OpenSSL error queue is cleared before each operation.
2014-12-03 08:34:01 +11:00
Christopher Kohlhoff
c228d0fa62
Use std::endl in tutorial to ensure output is flushed.
2014-11-23 10:59:42 +11:00
Christopher Kohlhoff
51f8205bdf
Use password callback when loading in-memory private key.
2014-11-23 10:46:32 +11:00
Christopher Kohlhoff
23700f4480
Add options for disabling TLS v1.1 and v1.2.
2014-11-23 10:08:09 +11:00
Christopher Kohlhoff
ab57ea30b3
Ensure a system header is included before testing __GLIBC_MINOR__.
2014-11-16 11:17:54 +11:00
Christopher Kohlhoff
3985f88e8a
Reorganise headers to reflect LEWG feedback.
2014-11-13 09:27:03 +11:00
Christopher Kohlhoff
55484f6850
Add make_service function.
2014-11-12 18:32:49 +11:00
Christopher Kohlhoff
ea70d7b069
Newest MSVC needs noexcept on error_category members.
2014-11-04 13:43:13 -06:00
Christopher Kohlhoff
0372cdda34
Add spawn overload that just takes a function without a handler or executor.
2014-11-02 18:24:27 -06:00
Christopher Kohlhoff
c1d4653363
Add missing SFINAE check.
2014-11-02 17:29:46 -06:00
Christopher Kohlhoff
b7c75f320d
Rename variables to be compatible with resumable-pp.
2014-10-29 20:52:24 +11:00
Christopher Kohlhoff
4cd5149798
Simulate proposed error code enums using namespaces.
2014-10-08 20:59:00 +11:00
Christopher Kohlhoff
c69b9e20a2
Map asio errors to std error conditions.
2014-10-08 20:58:52 +11:00
Christopher Kohlhoff
08b1e437a0
Fix compile error when using ASIO_NO_DEPRECATED.
2014-10-08 18:42:05 +11:00
Christopher Kohlhoff
63780a33a9
Add convenience headers that correspond to standards proposal.
2014-10-08 18:42:05 +11:00
Christopher Kohlhoff
f05ccf18df
Add wait()/async_wait() operations to acceptors.
2014-10-07 18:47:18 +11:00
Christopher Kohlhoff
0ea72562ce
Regenerate documentation.
2014-10-06 19:35:54 +11:00
Christopher Kohlhoff
59f146dee9
Update quick reference and fix up documentation.
2014-10-06 19:35:54 +11:00
Christopher Kohlhoff
b21f4e3c49
Add new example directories.
2014-10-06 10:13:45 +11:00
Christopher Kohlhoff
56669dd7ac
Update timer-related members on socket iostream classes.
2014-10-06 10:06:12 +11:00
Christopher Kohlhoff
bf61eaffef
Add non-const string buffer() overloads.
2014-10-06 10:04:56 +11:00
Christopher Kohlhoff
4e6aecd8fd
Fix workaround for clang/libc++.
2014-10-06 09:14:16 +11:00
Christopher Kohlhoff
4f56aef7f9
Fix executor_wrapper's call operator for older C++ compilers.
2014-10-06 08:48:01 +11:00
Christopher Kohlhoff
dfaf369181
Fix up small block recycling.
2014-10-05 21:02:27 +11:00
Christopher Kohlhoff
b511184b99
Add Executor type requirements.
2014-10-05 21:02:27 +11:00
Christopher Kohlhoff
a2d5ccfaf6
Delay allocator rebind to keep symbol names shorter.
2014-10-05 21:02:27 +11:00
Christopher Kohlhoff
085171fc96
Make asio::spawn() executor-aware.
2014-10-05 21:02:27 +11:00
Christopher Kohlhoff
daba8047e0
Update io_service::strand to satisfy the Executor requirements.
2014-10-05 20:58:03 +11:00
Christopher Kohlhoff
5925ceb3d8
Workaround for MSVC 2008 compiler codegen bug.
2014-10-05 11:00:16 +11:00
Christopher Kohlhoff
ebc8b148ba
Deprecate io_service members dispatch(), post() and wrap().
2014-10-05 10:19:41 +11:00
Christopher Kohlhoff
4159db3ff6
Fix long lines.
2014-10-05 10:19:41 +11:00
Christopher Kohlhoff
652a788b11
Add polymorphic executor wrapper.
2014-10-04 23:05:17 +10:00
Christopher Kohlhoff
b261967aee
Fix clang unused parameter warnings.
2014-10-04 10:41:17 +10:00
Christopher Kohlhoff
ae86167226
Add missing const qualifier.
2014-10-04 10:41:04 +10:00
Christopher Kohlhoff
47909943df
Add is_mutable_buffer_sequence and is_const_buffer_sequence traits.
2014-10-04 10:37:09 +10:00
Christopher Kohlhoff
29e16648c6
Disable unused parameter warnings for MSVC 2008.
...
Visual Studio 2008 seems to generate spurious unused parameter warnings
when using enable_if.
2014-10-04 10:37:08 +10:00
Christopher Kohlhoff
e2cf1518f6
Add address_cast, IPv4-mapped make_address* functions.
...
The to_v4(), to_v6() and v4_mapped() member functions have been
deprecated. Functions related to IPv4-compatible addresses have also
been deprecated.
2014-10-03 21:06:33 +10:00
Christopher Kohlhoff
2ac164cae5
Specify additional headers that don't have a convenience header.
2014-10-03 12:43:00 +10:00
Christopher Kohlhoff
97fed1de7f
Documentation fixes.
2014-10-03 11:35:55 +10:00
Christopher Kohlhoff
d23fb485b2
Update descriptor requirements.
2014-10-03 11:08:12 +10:00
Christopher Kohlhoff
5b86a36ba1
Add make_address_*() free functions, deprecate from_string.
2014-10-03 10:38:12 +10:00
Christopher Kohlhoff
24bb615610
Add strand inner_executor() function.
2014-10-03 09:02:14 +10:00
Christopher Kohlhoff
4f5943cda7
Add executor equality operators.
2014-10-03 00:15:04 +10:00