2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-25 14:32:08 +00:00
Commit Graph

342 Commits

Author SHA1 Message Date
Christopher Kohlhoff
0f5629d445 Reworked implementation MkII
[SVN r62499]
2010-06-07 00:00:45 +00:00
Christopher Kohlhoff
b7bc3ff637 Fix handling of small but non-zero timeouts. Fixes #4205.
[SVN r62497]
2010-06-06 23:28:58 +00:00
Christopher Kohlhoff
33eeb63378 Doc updates.
[SVN r61643]
2010-04-28 12:39:06 +00:00
Christopher Kohlhoff
b59ac3d388 Try using asm-based fenced block for pathscale.
[SVN r61172]
2010-04-10 06:54:34 +00:00
Christopher Kohlhoff
58ca677b0f Try to fix compile errors on various platforms in fenced_block.
[SVN r61010]
2010-04-03 00:29:06 +00:00
Christopher Kohlhoff
03645c054c Add ifdef to allow asio's threading support to be independently disabled.
[SVN r61009]
2010-04-02 22:51:42 +00:00
Christopher Kohlhoff
5dbcf53b17 Fix so that lock is not held while reactor is running.
[SVN r60962]
2010-03-31 12:22:10 +00:00
Christopher Kohlhoff
51ae6ad776 Uncomment ifdef test that was accidentally left commented.
[SVN r60961]
2010-03-31 12:13:47 +00:00
Christopher Kohlhoff
d3a2b42be1 New kqueue reactor implementation using one-shot event registration.
[SVN r60940]
2010-03-30 12:31:51 +00:00
Christopher Kohlhoff
1ea2d5330f Don't perform a speculative read when an out-of-band read is pending.
[SVN r60939]
2010-03-30 12:30:00 +00:00
Christopher Kohlhoff
d02eb70ec9 Don't allow speculative reads when message_out_of_band is specified.
[SVN r60938]
2010-03-30 12:28:22 +00:00
Christopher Kohlhoff
f1debcc472 Document basic_resolver_query's constructor arguments.
[SVN r60921]
2010-03-29 23:51:15 +00:00
Christopher Kohlhoff
399786e737 Fix unused variable warnings.
[SVN r60883]
2010-03-27 23:04:56 +00:00
Christopher Kohlhoff
7b4fabf4e3 Change the resolver implementation to no longer require the typedefs
InternetProtocol::resolver_query and InternetProtocol::resolver_iterator,
as neither typedef is part of the documented InternetProtocol requirements.

The following typedefs are now marked as deprecated:
- ip::icmp::resolver_query
- ip::icmp::resolver_iterator
- ip::tcp::resolver_query
- ip::tcp::resolver_iterator
- ip::udp::resolver_query
- ip::udp::resolver_iterator


[SVN r60882]
2010-03-27 22:22:59 +00:00
Christopher Kohlhoff
d32559c643 Always call ioctl on underlying descriptor when modifying blocking mode. Refs #3307.
[SVN r60869]
2010-03-27 10:54:44 +00:00
Christopher Kohlhoff
3c5fe939c9 Async connect operations using the reactor should not allow speculative
completion.


[SVN r60781]
2010-03-23 01:39:12 +00:00
Christopher Kohlhoff
41bcacc9e2 Fix cancellation in Windows HANDLE backend.
[SVN r60756]
2010-03-22 03:32:56 +00:00
Christopher Kohlhoff
c980da5515 Fix search/replace error in some resolver_query_base enumerators.
[SVN r60743]
2010-03-21 10:54:56 +00:00
Christopher Kohlhoff
73b7b61c61 Fix cancellation.
[SVN r60723]
2010-03-19 23:58:48 +00:00
Christopher Kohlhoff
e95406e8b9 WinCE doesn't provide InitializeCriticalSectionAndSpinCount.
[SVN r60722]
2010-03-19 23:57:50 +00:00
Christopher Kohlhoff
4ab0d73c10 Fix epoll_reactor bug where cancelled operations would complete with a
"success" error_code.


[SVN r60705]
2010-03-19 13:08:04 +00:00
Christopher Kohlhoff
1683a90e86 Fix bug where 0-byte reads were incorrectly passing an eof error_code to the handler. Refs #4023.
[SVN r60689]
2010-03-18 11:08:19 +00:00
Christopher Kohlhoff
96ad484574 Use a bitmask type for the resolver flags, as per the TR2 proposal. This will
prevent implicit conversion from int to flags, allowing the compiler to catch
cases where users incorrectly pass a numeric port number as the service name.


[SVN r60687]
2010-03-18 06:23:38 +00:00
Christopher Kohlhoff
481e0b03d9 Clarify that to_bytes() returns addresses in network byte order. Refs #4005.
[SVN r60683]
2010-03-18 01:54:43 +00:00
Christopher Kohlhoff
8717cac135 Define NOMINMAX for all Windows compilers, not just Cygwin. Users can define
BOOST_ASIO_NO_NOMINMAX to suppress this definition.


[SVN r60681]
2010-03-18 01:32:34 +00:00
Christopher Kohlhoff
96ce1bea3f Reworked implementation.
[SVN r60380]
2010-03-09 12:50:07 +00:00
Christopher Kohlhoff
eecd73a23a Document ordering of handlers in strands. Fix error in streambuf snippet.
[SVN r59104]
2010-01-17 21:48:17 +00:00
Christopher Kohlhoff
d6ac7e4a70 Support platforms that don't define INET6_ADDRSTRLEN. Refs #3743.
[SVN r58793]
2010-01-07 22:18:16 +00:00
Christopher Kohlhoff
dd13ae0801 Disable handler allocation and invocation hooks on g++ 2.x. Refs #3743.
[SVN r58782]
2010-01-06 22:44:48 +00:00
Christopher Kohlhoff
23c3bacde4 Apply fix for reported excessive CPU usage under Solaris. Refs #3670.
[SVN r58762]
2010-01-06 12:36:51 +00:00
Christopher Kohlhoff
b031423afe Disable iostreams-related functionality if BOOST_NO_IOSTREAMS is defined. Refs #3743.
[SVN r58761]
2010-01-06 12:27:05 +00:00
Christopher Kohlhoff
ec92795b73 Use buffer debugging workaround with MSVC 8 only.
[SVN r58740]
2010-01-06 02:38:39 +00:00
Christopher Kohlhoff
fb9262b171 Use sockatmark if SIOCATMARK is not defined. Refs #3743.
[SVN r58705]
2010-01-05 12:50:39 +00:00
Christopher Kohlhoff
a53c811edb Drop back to second_clock if microsec_clock is unavailable. Refs #3743.
[SVN r58704]
2010-01-05 12:20:10 +00:00
Christopher Kohlhoff
05161f352f Include boost/limits.hpp rather than <limits>, to support older compilers.
Refs #3743.


[SVN r58703]
2010-01-05 11:51:41 +00:00
Christopher Kohlhoff
e918b97ec4 Fix Win64 warnings.
[SVN r58671]
2010-01-04 12:33:42 +00:00
Christopher Kohlhoff
cf516b07a5 Only include implementation headers required for each platform.
[SVN r58652]
2010-01-02 21:38:44 +00:00
Christopher Kohlhoff
c37cae6c1c Add a workaround for some broken Windows firewalls that make a socket
appear bound to 0.0.0.0 when it is in fact bound to 127.0.0.1.


[SVN r58651]
2010-01-02 21:37:10 +00:00
Christopher Kohlhoff
51b0750d54 In getaddrinfo emulation, only check the socket type (SOCK_STREAM or SOCK_DGRAM)
if a service name has been specified. This should allow the emulation to work
with raw sockets.


[SVN r58650]
2010-01-02 21:35:33 +00:00
Christopher Kohlhoff
c2f12c99e0 Use a pool of strand implementations to make copying of strands cheaper.
[SVN r58647]
2010-01-02 20:36:59 +00:00
Christopher Kohlhoff
b5688e37a7 Add boost_ prefix to extern "C" thread entry point function. Refs #3809.
[SVN r58630]
2010-01-02 10:30:41 +00:00
Christopher Kohlhoff
6d8d57aaf0 Ensure that kqueue support is enabled for BSD platforms. Refs #3626.
[SVN r58629]
2010-01-02 10:20:12 +00:00
Christopher Kohlhoff
cf8c031f87 Don't block signals while performing system calls, but instead restart the
calls if they are interrupted.


[SVN r58628]
2010-01-02 09:48:01 +00:00
Christopher Kohlhoff
45acb2f756 Use boost::addressof to get the address of handler objects, rather than
applying operator& directly. Refs #2977.


[SVN r58627]
2010-01-02 08:24:12 +00:00
Christopher Kohlhoff
ee7f4cba38 e specific type_traits headers.
[SVN r58625]
2010-01-02 07:16:41 +00:00
Christopher Kohlhoff
b6fbb66440 Windows needs the OVERLAPPED structure to be valid until both the initiating
function call has returned and the completion packet has been delivered.


[SVN r58624]
2010-01-02 06:09:02 +00:00
Christopher Kohlhoff
20a822c591 Update copyright notices.
[SVN r58623]
2010-01-02 01:24:52 +00:00
Christopher Kohlhoff
c901425aa0 Wrap long line.
[SVN r58621]
2010-01-01 23:04:35 +00:00
Hartmut Kaiser
afa4f59dbb Asio: disabled VC workaround for VC2010 beta2 compiler
[SVN r57393]
2009-11-05 00:26:15 +00:00
Christopher Kohlhoff
58ad4eec91 Clarify that deadline_timer uses a UTC-based clock by default.
[SVN r55670]
2009-08-19 22:44:02 +00:00