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

481 Commits

Author SHA1 Message Date
Christopher Kohlhoff
e95406e8b9 WinCE doesn't provide InitializeCriticalSectionAndSpinCount.
[SVN r60722]
2010-03-19 23:57:50 +00:00
Christopher Kohlhoff
b80ddc1935 More extensive read and write tests.
[SVN r60717]
2010-03-19 23:23:28 +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
3f3c9aefa1 Add note to examples on how to limit asio::streambuf growth.
[SVN r60685]
2010-03-18 02:15:23 +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
c5a643df6b Update revision history.
[SVN r59106]
2010-01-17 22:21:21 +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
a7710aa4ec Add coroutine::is_complete() and support for "yield break;".
[SVN r59103]
2010-01-17 21:42:36 +00:00
Christopher Kohlhoff
5462e44fd2 Add HTTP Server 4 example.
[SVN r58900]
2010-01-11 12:22:33 +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
f6df78b3dc Fix example to compile with MSVC 10 beta 2.
[SVN r58670]
2010-01-04 12:33:04 +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
235e35039d Include specific headers in unit tests rather than the convenience header asio.hpp.
[SVN r58626]
2010-01-02 07:18:09 +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
Troy D. Straszheim
da33675b44 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Christopher Kohlhoff
f367084009 Remove spurious word.
[SVN r55919]
2009-08-31 12:45:18 +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
Christopher Kohlhoff
0f7114b26c Add revision history to docs.
[SVN r55668]
2009-08-19 22:29:34 +00:00
Christopher Kohlhoff
328b1a37bf Add missing returns for failure cases in write_some_at and read_some_at.
[SVN r55500]
2009-08-10 11:38:00 +00:00
Troy D. Straszheim
320ddd3c12 Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
Christopher Kohlhoff
9b5be8f373 Fix bullet list.
[SVN r55059]
2009-07-21 12:20:28 +00:00
Christopher Kohlhoff
22cc64384f Add examples for handler type requirements.
[SVN r55043]
2009-07-20 12:59:45 +00:00
Christopher Kohlhoff
0c2240eb35 Regenerate documentation.
[SVN r54918]
2009-07-13 03:45:06 +00:00
Christopher Kohlhoff
4fd72eb7e2 Show explicit keyword when necessary. Fix hyperlinks between classes.
[SVN r54917]
2009-07-13 03:40:50 +00:00
Christopher Kohlhoff
e325c6ffe3 Documentation updates.
[SVN r54916]
2009-07-13 03:38:21 +00:00
Christopher Kohlhoff
ab1a6a09ff Fix compile error when using openssl 1.0 beta. Refs #3256.
[SVN r54907]
2009-07-12 08:16:06 +00:00
Christopher Kohlhoff
5cafa35a16 Don't write to /dev/poll descriptor when there are no pending changes.
[SVN r54845]
2009-07-09 22:58:26 +00:00