Commit Graph

2076 Commits

Author SHA1 Message Date
Christopher Kohlhoff
191b7fad45 Revision history. 2014-05-05 12:02:16 +10:00
Christopher Kohlhoff
8156ec105c Defend against min/max macros. 2014-05-05 11:28:31 +10:00
Christopher Kohlhoff
99c5f714e1 Remove tab character. 2014-05-05 11:22:05 +10:00
Christopher Kohlhoff
cb52034811 Use link-local multicast on other BSDs too. 2014-05-04 15:15:31 +10:00
Christopher Kohlhoff
b6a38573de Use FormatMessageW when targeting WinRT. 2014-05-04 14:40:09 +10:00
Christopher Kohlhoff
32751f4efc One more event::signal() member to put back. 2014-05-04 10:54:55 +10:00
Christopher Kohlhoff
a3ddbcfbe8 Put back the event::signal() member.
The asio::detail::event class seems to be being used by other projects,
so we'll keep the old function name to avoid unnecessary breakage.
2014-05-04 10:45:07 +10:00
Christopher Kohlhoff
aa5293a09f Move event #include to correct location. 2014-05-04 10:35:11 +10:00
Christopher Kohlhoff
2f6c67c266 Fix another sprintf warning in example. 2014-05-04 10:05:28 +10:00
Christopher Kohlhoff
2ba5df9dc7 Regenerate documentation. 2014-05-04 09:34:20 +10:00
Christopher Kohlhoff
b7383dc289 Clarify that buffer_copy does not support overlapping memory regions.
Fixes boost trac ticket #8295.
2014-05-04 09:16:51 +10:00
Christopher Kohlhoff
a398c855c3 Don't run the compile-time buffer test.
Fixes boost trac ticket #8295.
2014-05-04 09:04:46 +10:00
Christopher Kohlhoff
8c37a7c20b Use link-local multicast on Mac OS. 2014-05-04 08:57:50 +10:00
Christopher Kohlhoff
d3aa157a71 Support stringified scope ids for link-local multicast. 2014-05-04 08:57:11 +10:00
Christopher Kohlhoff
0d78ba574c Use scope id as default IPv6 multicast interface. 2014-05-04 08:55:08 +10:00
Christopher Kohlhoff
9d0b7d146d Avoid waking all threads when only one is required. 2014-05-03 14:53:01 +10:00
Christopher Kohlhoff
e96a7bbdc1 Use a single condition variable per io_service.
This change fixes a potential race condition when using run_one() from
multiple threads. It also paves the way for the future addition of
timed io_service::run() overloads.
2014-05-03 12:51:27 +10:00
Christopher Kohlhoff
41e72662e1 Add new header file to makefile. 2014-05-03 12:23:37 +10:00
Christopher Kohlhoff
46ae8fab41 Remove unused data member. 2014-05-03 12:15:14 +10:00
Christopher Kohlhoff
9e0137bb3d Fix sprintf format warning in example. 2014-05-03 12:14:06 +10:00
Christopher Kohlhoff
9c7424d9be Fix unused argument warning. 2014-05-03 12:10:24 +10:00
Christopher Kohlhoff
093eee0ddf Update boostify.pl to match modular boost layout. 2014-05-03 10:45:11 +10:00
Christopher Kohlhoff
ffead2ce14 Fix long line. 2014-05-03 09:14:16 +10:00
Christopher Kohlhoff
9fc74ea135 Use ConnectEx where available.
N.B. This change conservatively limits the use of ConnectEx to
connection-oriented IP sockets.
2014-05-02 22:13:35 +10:00
Christopher Kohlhoff
ac9babae60 Update some more copyright notices. 2014-05-02 13:40:07 +10:00
Christopher Kohlhoff
c3fa8eb14a Fix file permission. 2014-05-02 13:34:34 +10:00
Christopher Kohlhoff
eabbbace2d Disable GetQueuedCompletionStatus workaround on recent Windows versions. 2014-05-02 12:51:32 +10:00
Christopher Kohlhoff
9c1fd314c8 Fix type aliasing issue reported by gcc.
Fixes boost trac ticket #9550.
2014-05-02 11:53:45 +10:00
Christopher Kohlhoff
dd3db696f9 Make select_reactor more efficient on Windows for large numbers of sockets.
Fixes boost trac ticket #9528.
2014-05-02 11:19:25 +10:00
Christopher Kohlhoff
a108e81b97 Clarify that commit() and consume() do not throw.
Fixes boost trac ticket #9605.
2014-04-30 09:39:39 +10:00
Christopher Kohlhoff
45959dd8f1 Fix infinite recursion in operator~ implementation.
Fixes boost trac ticket #9548.
2014-04-29 23:27:58 +10:00
Christopher Kohlhoff
f2af8866d9 Regenerate documentation. 2014-04-29 23:24:50 +10:00
Christopher Kohlhoff
3c4cbaa356 Fix incorrect documentation on async_send.
Fixed boost trac ticket #9771.
2014-04-29 23:23:36 +10:00
Christopher Kohlhoff
3f473548a7 Fix occasional close() system call hang on MacOS.
Repeated re-registration of kqueue event filters seems to behave as
though there is some kind of "leak" on MacOS, culminating in a suspended
close() system call and an unkillable process. To avoid this, we will
register a descriptor's kqueue event filters once only i.e. when the
descriptor is first created.
2014-04-29 23:13:57 +10:00
Christopher Kohlhoff
3b2335010d Compute greatest common divisor to prevent unnecessary integer overflow.
Fixes boost trac tickets #9662, #9778.
2014-04-29 22:31:47 +10:00
Christopher Kohlhoff
d8240be4df Ensure incomplete coroutines are correctly unwound.
We must take care not to hold a shared_ptr to the coroutine across
its own suspension point, otherwise it will not be unwound by the
io_service destructor. Move-enabled C++11 compilers take care of this
automatically, but with C++03 we must explicitly reset the shared_ptr.

Fixes boost trac ticket #9731.
2014-04-29 14:25:59 +10:00
Christopher Kohlhoff
5f99384011 Fix spawn() when Boost.Coroutine v2 is used.
Fixes boost trac tickets #9442, #9928.
2014-04-29 14:19:08 +10:00
Christopher Kohlhoff
bf837274fd Fix delegation of continuation hook.
Fixes boost trac ticket #9741.
2014-04-29 11:59:12 +10:00
Christopher Kohlhoff
44cce168f0 Add build support for using boost.coroutine. 2014-04-29 10:59:32 +10:00
Christopher Kohlhoff
4bb236ac64 Make system_error available via error.hpp. 2014-04-29 10:57:18 +10:00
Christopher Kohlhoff
22bc29ffb7 Add extra #include needed by latest Xcode. 2014-04-29 10:56:19 +10:00
Christopher Kohlhoff
8229b06a2a Update copyright notices. 2014-04-28 13:09:47 +10:00
Christopher Kohlhoff
5b935e27dd Ignore scratch source files and symlinked boost. 2014-04-28 12:51:01 +10:00
Christopher Kohlhoff
e80030ffa1 asio version 1.10.1 released 2013-11-15 10:59:52 +11:00
Christopher Kohlhoff
0df9cedc9f More revision history. 2013-11-15 10:59:52 +11:00
Christopher Kohlhoff
4f40099c11 Add option for creating an asio release tarball. 2013-11-15 10:59:52 +11:00
Christopher Kohlhoff
7961ae0b4b Add configure tests for boost 1.54 and 1.55. 2013-11-14 08:38:43 +11:00
Christopher Kohlhoff
88af15e102 Fix typos in spawn() documentation. 2013-10-27 08:51:50 +11:00
Christopher Kohlhoff
7d86faf110 Regenerate documentation. 2013-10-23 23:23:46 +11:00
Christopher Kohlhoff
f643551d9a Add a note to clarify that concurrent invocation is not guaranteed for
handlers in different strands.
2013-10-23 23:22:26 +11:00