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
Christopher Kohlhoff
88813bb3d4
Fix WinRT detection.
...
WINAPI_FAMILY_ONE_PARTITION is no longer defined in newer
Windows SDKs.
2015-03-20 09:56:49 +11:00
Christopher Kohlhoff
628e3ca9fe
ERR_remove_state is deprecated, use ERR_remove_thread_state instead.
2015-03-20 09:30:37 +11:00
Christopher Kohlhoff
8815161b24
Fix unit test code to work with boost::detail::atomic_count.
2015-03-19 23:40:45 +11:00
Christopher Kohlhoff
915d4cf6f0
Fix compile error in /dev/poll reactor.
2015-03-19 20:18:59 +11:00
Christopher Kohlhoff
9733ac6763
Make all kqueue event registration lazy.
...
Fixes the kqueue reactor so that it works on FreeBSD again.
2015-03-19 20:18:59 +11:00
Christopher Kohlhoff
38051268e3
Deregister EVFILT_WRITE to avoid spinning with serial ports.
2015-03-19 19:54:07 +11:00
Christopher Kohlhoff
37e4e62c5a
Use correct type in byte order conversion of shorts.
2015-03-19 19:53:59 +11:00
Christopher Kohlhoff
f7695e66a4
Fix shadow variable warnings.
2015-03-19 19:53:44 +11:00
Christopher Kohlhoff
b72b473cda
Add lazy kqueue EVFILT_WRITE registration.
...
This fixes support for read-only file descriptors, such as those obtained
from libpcap by calling pcap_get_selectable_fd.
2015-03-19 19:52:34 +11:00
Christopher Kohlhoff
4b1731d973
New macro ASIO_DISABLE_CONNECTEX to disable ConnectEx use.
2015-03-19 19:35:11 +11:00
Christopher Kohlhoff
164b961f95
Remove dependency on Boost.Test.
2015-03-19 19:35:11 +11:00
Christopher Kohlhoff
23b084bb61
Fix up support for ASIO_NO_EXCEPTIONS.
2015-03-17 20:41:14 +11:00
Christopher Kohlhoff
df9d70bc55
Fix up support for ASIO_NO_TYPEID (i.e. no RTTI).
2015-03-17 19:42:07 +11:00
Christopher Kohlhoff
e19f2bd660
Strip the scope id from address string before passing to inet_pton.
...
On some platforms, like FreeBSD, inet_pton fails if the address
string includes trailing characters like a scope id.
2015-03-14 09:18:52 +11:00
Christopher Kohlhoff
6614ff63b2
Fix handler tracking on WinRT.
2015-03-14 09:18:52 +11:00
Christopher Kohlhoff
55194c01f5
Remove accidentally committed makefile change.
2015-03-14 09:18:52 +11:00
Christopher Kohlhoff
d4f7353a9e
Track the underlying reactor operations associated with handlers.
...
For reactor-based platforms only. For example, an async send on a reactor-based
platform will now log the result to each non-blocking send system call.
2015-03-14 09:18:52 +11:00
Christopher Kohlhoff
f1de530de5
Pass native handle (e.g. descriptor) to handler tracking.
2015-03-14 08:58:29 +11:00
Christopher Kohlhoff
829b4c88df
Add missing implementation header to src.hpp.
2015-03-10 18:37:24 +11:00
Christopher Kohlhoff
5d686abf95
Update handler tracking arguments.
...
Now passes the execution context on handler creation and for operations. The
tracked handler base class is now passed by reference to help reduce the
temptation to stash a point to a soon-to-be-destroyed object.
2015-03-10 18:37:23 +11:00
Christopher Kohlhoff
27f8c672a7
Update reference index to use new address iterator/range names.
2015-03-07 21:00:27 +11:00
Christopher Kohlhoff
a35e2e0127
Add basic_address_iterator and basic_address_range templates.
...
Class address_iterator_v4 is now typedef address_v4_iterator.
Class address_range_v4 is now typedef address_v4_range.
Class address_iterator_v6 is now typedef address_v6_iterator.
Class address_range_v6 is now typedef address_v6_range.
2015-03-07 19:55:44 +11:00
Christopher Kohlhoff
17efec1803
Add use_future_::rebind() as replacement for operator[].
2015-03-06 09:41:37 +11:00
Christopher Kohlhoff
4599179812
Finish implementation of move-enabled accept/async_accept.
2015-03-05 21:40:32 +11:00
Christopher Kohlhoff
c05c71e96b
Revert "Change ip::address default constructor to be not-an-address."
...
This reverts commit d8a2f7087d
.
2015-03-03 09:56:48 +11:00
Christopher Kohlhoff
f475b21437
Initial implementation of move-enable accept/async_accept.
...
This commit adds support for the new form of accept and async_accept. In this
form, rather than taking a socket by reference, the newly accepted socket is
returned to the caller/callback as a movable socket object.
2015-03-02 23:47:04 +11:00
Christopher Kohlhoff
7eee8f1875
Add support for custom handler tracking.
2015-02-25 07:42:17 +01:00
Christopher Kohlhoff
7c93097174
Fix handler tracking for support for the new strand.
2015-02-25 07:42:17 +01:00
Christopher Kohlhoff
91b3bb1c73
remove_reference is not needed in async_completion constructor.
2015-02-25 07:42:12 +01:00
Christopher Kohlhoff
66e76b9e42
asio version 1.11.0 released
2015-02-16 09:18:50 +11:00
Christopher Kohlhoff
691f3cd465
Revision history.
2015-02-16 08:51:46 +11:00
Christopher Kohlhoff
fee3b366a5
Fix filename clash on case-insensitive filesystems.
2015-02-16 08:51:46 +11:00
Christopher Kohlhoff
6394ab63c0
Allow nested calls to completion handler when using yield_context.
2015-02-16 08:48:03 +11:00
Christopher Kohlhoff
a5712beb31
Revert "Allow nested calls to completion handler when using yield_context."
...
This reverts commit 81242906a5
.
2015-02-16 08:45:54 +11:00
Christopher Kohlhoff
81242906a5
Allow nested calls to completion handler when using yield_context.
2015-02-16 07:54:40 +11:00
Christopher Kohlhoff
4a19f23564
Add cpp14 examples to distribution.
2015-02-16 00:02:23 +11:00
Christopher Kohlhoff
d29d94535e
Update copyright notices.
2015-02-16 00:02:23 +11:00
Christopher Kohlhoff
a4a02f2181
Regenerate documentation.
2015-02-16 00:02:23 +11:00
Christopher Kohlhoff
060d301688
Treat multicast test failures with ENODEV as non-fatal.
2015-02-16 00:02:23 +11:00
Christopher Kohlhoff
76cf93cb8f
Mark io_service::work as deprecated.
2015-02-16 00:01:01 +11:00
Christopher Kohlhoff
1597807251
Update quick reference.
2015-02-16 00:01:01 +11:00