Commit Graph

1359 Commits

Author SHA1 Message Date
Christopher Kohlhoff
0a83dd0dc5 Clean up gcc warnings.
[SVN r38790]
2007-08-20 14:21:47 +00:00
Christopher Kohlhoff
a1971d2123 Use shutdown() for portable graceful connection closure.
[SVN r38789]
2007-08-20 14:19:49 +00:00
Christopher Kohlhoff
78d7795fba Increase number of buffers that may be sent or received in a single operation.
Clean up win_iocp_socket_service's close-on-destruction handling to ensure
non-blocking socket destructors.


[SVN r38788]
2007-08-20 14:17:15 +00:00
Christopher Kohlhoff
984fd932d6 Fix unused argument warning.
[SVN r38787]
2007-08-20 14:12:31 +00:00
Christopher Kohlhoff
69310edc3c Fix order of initialisation problem with error categories.
[SVN r38786]
2007-08-20 14:11:46 +00:00
Christopher Kohlhoff
989ff8a599 Add missing static keyword to the service_id_matches functions.
[SVN r38785]
2007-08-20 14:08:16 +00:00
Christopher Kohlhoff
25fa47276c Add a workaround for Windows Vista's handling of the boolean socket option
tcp::no_delay, where ::getsockopt will return the size of the option as one
byte, even though a four byte integer was passed in.


[SVN r38784]
2007-08-20 14:07:23 +00:00
Christopher Kohlhoff
4d914fcd64 Add a note to basic_socket<>::close() indicating that shutdown() should
be used for portable graceful closure.


[SVN r38783]
2007-08-20 13:53:27 +00:00
Christopher Kohlhoff
0958213a44 Fix gcc warning about too few braces.
[SVN r38782]
2007-08-20 13:50:30 +00:00
Christopher Kohlhoff
b1b7505e4d Fix inspect errors.
[SVN r38781]
2007-08-20 13:48:38 +00:00
Vladimir Prus
fb46c8923e Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +00:00
Christopher Kohlhoff
b98a841fa6 Improve documentation for completion condition objects.
[SVN r38323]
2007-07-31 11:39:30 +00:00
Christopher Kohlhoff
0a42306700 Always restart epoll_reactor operations if the callback handler indicates
that they should be restarted, even if there was an error associated with
the file descriptor, to ensure that operations don't get "lost".

Don't cleanup pending timer objects while the reactor lock is held, since
the destructors for the objects may try to make calls back into the
reactor.


[SVN r38322]
2007-07-31 11:36:10 +00:00
Christopher Kohlhoff
e12b0141a6 Eliminate spurious warning for MSVC8 when using /W4 and /Wp64.
[SVN r38321]
2007-07-31 11:35:00 +00:00
Christopher Kohlhoff
dac0aa7f77 Need to include socket_types.hpp for definition of _WIN32_WINNT.
[SVN r38320]
2007-07-31 11:34:12 +00:00
Christopher Kohlhoff
788d350ec5 Don't cleanup pending timer objects while the reactor lock is held, since
the destructors for the objects may try to make calls back into the
reactor.


[SVN r38319]
2007-07-31 11:33:29 +00:00
Christopher Kohlhoff
3f41710b85 Add support for the non-POSIX getaddrinfo errors EAI_NODATA and
EAI_ADDRFAMILY.


[SVN r38318]
2007-07-31 11:32:49 +00:00
Christopher Kohlhoff
0e60b07b4f Add handling for URL-escaping of spaces as plus signs. Remove unnecessary
slash from request path.


[SVN r38054]
2007-06-21 23:39:22 +00:00
Christopher Kohlhoff
3cb6db7cae Don't perform debug check with 0-sized buffers.
[SVN r38053]
2007-06-21 23:29:19 +00:00
Christopher Kohlhoff
86a79bede3 Add missing error message.
[SVN r37798]
2007-05-27 08:04:32 +00:00
Christopher Kohlhoff
65e054db78 Work around mysterious Borland C++ bug that prevents getsockopt and
setsockopt from working correctly.


[SVN r37734]
2007-05-21 13:05:06 +00:00
Christopher Kohlhoff
0a545955ca Boost.Asio doesn't currently work with Borland C++ 6.
[SVN r37724]
2007-05-20 14:31:56 +00:00
Christopher Kohlhoff
1248ab625c Try to fix Borland C++ compile errors.
[SVN r37722]
2007-05-20 03:50:23 +00:00
Christopher Kohlhoff
44af0244a6 Fix URL-decoding.
[SVN r37721]
2007-05-20 02:52:00 +00:00
Christopher Kohlhoff
1742d2e664 Documentation fixes.
[SVN r37720]
2007-05-20 01:04:11 +00:00
Christopher Kohlhoff
96b2422d7c Remove dead CompletionCondition links.
[SVN r37719]
2007-05-20 00:44:23 +00:00
Christopher Kohlhoff
cbba2f8ecd Documentation updates.
[SVN r37718]
2007-05-20 00:30:54 +00:00
Christopher Kohlhoff
463b06e4b0 To get portable behaviour for SO_REUSEADDR with UDP, the Mac OS X and BSD
platforms also need SO_REUSEPORT to be set.


[SVN r37717]
2007-05-20 00:28:55 +00:00
Christopher Kohlhoff
68b94f2dc0 Need to enable SO_NOSIGPIPE option on FreeBSD.
[SVN r37715]
2007-05-20 00:28:13 +00:00
Christopher Kohlhoff
17df024491 Make template parameters into links to the corresponding type requirements.
[SVN r37714]
2007-05-19 23:51:39 +00:00
Christopher Kohlhoff
10260927f0 Ensure friend functions are included.
[SVN r37713]
2007-05-19 06:19:01 +00:00
Christopher Kohlhoff
02d9a0860c Fix external link.
[SVN r37712]
2007-05-19 00:44:27 +00:00
Christopher Kohlhoff
d569fc2abc Documentation updates.
[SVN r37700]
2007-05-16 14:35:09 +00:00
Christopher Kohlhoff
df19961212 Fix compiler warnings.
[SVN r37682]
2007-05-13 08:23:08 +00:00
Christopher Kohlhoff
899d252fb9 Allow everything to compile on platforms where IPV6_V6ONLY is not defined
(such as Linux distros with a 2.4 kernel), but make any use of ip::v6_only
fail at runtime.


[SVN r37681]
2007-05-13 08:18:09 +00:00
Christopher Kohlhoff
f811170a32 Update documentation.
[SVN r37674]
2007-05-12 10:52:21 +00:00
Christopher Kohlhoff
972c54ba27 Preserve the user-set blocking mode over an async connect.
[SVN r37673]
2007-05-12 10:48:24 +00:00
Christopher Kohlhoff
75dd9fdefe Need to define IPV6_UNICAST_HOPS when building with an old Platform SDK.
[SVN r37672]
2007-05-12 10:48:01 +00:00
Christopher Kohlhoff
41bf5929d3 Zero out address structure to prevent failures on some platforms.
[SVN r37671]
2007-05-12 10:47:15 +00:00
Christopher Kohlhoff
9ec1d04a0b Some older UNIX platforms return EPROTO from accept() to indicate that a
connection was lost before being fully established.


[SVN r37670]
2007-05-12 10:46:47 +00:00
Christopher Kohlhoff
48f1ab2c57 Revert incorrect change to one of the test checks.
[SVN r37641]
2007-05-08 22:51:34 +00:00
Christopher Kohlhoff
cbe0de5634 Add documentation note specifying that pending handlers are still executed
after a strand is destroyed.


[SVN r37632]
2007-05-08 13:40:08 +00:00
Christopher Kohlhoff
05518d58e6 Ensure internal non-blocking flag is set if the user wants non-blocking.
[SVN r37631]
2007-05-08 13:39:04 +00:00
Christopher Kohlhoff
47e59d1958 Add example illustrating a custom handler invocation hook.
[SVN r37630]
2007-05-08 13:02:39 +00:00
Christopher Kohlhoff
288b994d9b Add header file containing Boost.Asio version number.
[SVN r37628]
2007-05-08 12:20:38 +00:00
Christopher Kohlhoff
7e98d31a1a Artifacts of new boostify.pl.
[SVN r37625]
2007-05-08 10:55:32 +00:00
Christopher Kohlhoff
d81cd3ba49 Fix another incorrect condition.
[SVN r37624]
2007-05-08 10:55:12 +00:00
Christopher Kohlhoff
29cb1736ba Fix test failure caused by incorrect condition check.
[SVN r37623]
2007-05-08 10:49:40 +00:00
Christopher Kohlhoff
cf848d1d43 Update io_service documentation.
[SVN r37617]
2007-05-07 12:54:05 +00:00
Christopher Kohlhoff
0d80da3ca8 Fix namespace name.
[SVN r37616]
2007-05-07 12:41:29 +00:00