Christopher Kohlhoff
5ab5356e33
Disable old resolver functionality if ASIO_NO_DEPRECATED is defined.
2015-05-03 15:27:26 +10:00
Christopher Kohlhoff
69ff104a00
Code fixes so that the boostify script works.
2015-05-03 12:40:17 +10:00
Christopher Kohlhoff
74fe2b8e14
Deprecate resolver::query. Use overloads of resolve and async_resolve.
2015-05-03 12:07:21 +10:00
Christopher Kohlhoff
bc4eec8ebc
Use range-based interface for returning resolver results.
2015-05-03 12:07:21 +10:00
Christopher Kohlhoff
99c95166c9
Fix typo in comment.
2015-05-03 08:53:34 +10:00
Christopher Kohlhoff
cba39c6af7
Add allocator-aware accessors to ip::basic_resolver_entry.
2015-05-03 08:53:34 +10:00
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