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

353 Commits

Author SHA1 Message Date
Christopher Kohlhoff
8c5627bc13 Make more tolerant of different platform sdk variants.
[SVN r63576]
2010-07-04 07:28:20 +00:00
Christopher Kohlhoff
5bd06414c5 Fixes in non_blocking_read.
[SVN r63575]
2010-07-04 07:26:36 +00:00
Christopher Kohlhoff
5ae3eae4d5 Add cancellation of reactor operations.
[SVN r63574]
2010-07-04 07:23:27 +00:00
Christopher Kohlhoff
c983fc805e Fix forward declaration.
[SVN r63573]
2010-07-04 07:21:24 +00:00
Christopher Kohlhoff
bf07247104 Fences for arm.
[SVN r63572]
2010-07-04 07:20:18 +00:00
Christopher Kohlhoff
c8146d544f Fences for arm.
[SVN r63571]
2010-07-04 07:19:30 +00:00
Christopher Kohlhoff
7ead504f73 Ensure arguments to handlers are passed as const types.
[SVN r63570]
2010-07-04 06:57:32 +00:00
Christopher Kohlhoff
db6f42e12b Fix handling of empty buffer sequences.
[SVN r62558]
2010-06-08 11:01:57 +00:00
Christopher Kohlhoff
5978853196 Ensure unsigned char is used with isdigit. Refs #4201.
[SVN r62556]
2010-06-08 09:01:39 +00:00
Christopher Kohlhoff
c1d13d05f8 Some changes for Symbian support.
[SVN r62531]
2010-06-07 23:29:05 +00:00
Christopher Kohlhoff
579be49842 Fixes for MSVC 7.1, Borland.
[SVN r62530]
2010-06-07 23:24:28 +00:00
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