Commit Graph

1178 Commits

Author SHA1 Message Date
chris_kohlhoff
739cdbf78d Add a workaround for strange Windows behaviour where closing a socket while
there is a pending asynchronous read results in a connection reset error at
the peer.
2007-08-09 11:42:21 +00:00
chris_kohlhoff
d4dc079583 Need to include socket_types.hpp for definition of _WIN32_WINNT. 2007-07-29 09:01:59 +00:00
chris_kohlhoff
6497b961b7 Add support for the non-POSIX getaddrinfo errors EAI_NODATA and
EAI_ADDRFAMILY.
2007-07-29 09:00:42 +00:00
chris_kohlhoff
56a5d813e1 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.
2007-07-25 13:21:46 +00:00
chris_kohlhoff
484af78b25 Always restart 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".
2007-07-25 11:27:32 +00:00
chris_kohlhoff
61b3678fda Improve documentation for the completion condition function objects. 2007-07-25 04:32:49 +00:00
chris_kohlhoff
0453ef4a29 Eliminate spurious warning for MSVC8 when using /W4 and /Wp64. 2007-07-25 04:20:47 +00:00
chris_kohlhoff
79da424b79 Don't perform debug check on 0-sized buffers. 2007-06-21 14:03:36 +00:00
chris_kohlhoff
bbe9906942 Remove unnecessary slash from request path. 2007-06-21 13:44:24 +00:00
chris_kohlhoff
ad4f5debec Add handling for URL-escaping of spaces as plus signs. 2007-06-17 00:52:54 +00:00
chris_kohlhoff
14980966f1 Add note on using MSYS to build. 2007-06-17 00:52:53 +00:00
chris_kohlhoff
b66347e27e Add missing error message. 2007-05-27 07:50:05 +00:00
chris_kohlhoff
6badff8290 asio version 0.3.8 release candidate 3 released 2007-05-22 14:08:29 +00:00
chris_kohlhoff
eb30d228c6 TODO file is out of date. Remove it. 2007-05-22 13:05:35 +00:00
chris_kohlhoff
20e8cf0394 Add .cvsignore file. 2007-05-22 12:08:52 +00:00
chris_kohlhoff
1e3b72fdcf Work around mysterious Borland C++ bug that prevents getsockopt and
setsockopt from working correctly.
2007-05-21 12:34:39 +00:00
chris_kohlhoff
1278a63b40 Try to fix Borland C++ compile errors. 2007-05-20 03:33:23 +00:00
chris_kohlhoff
f095a70313 Fix URL-decoding. 2007-05-20 02:46:16 +00:00
chris_kohlhoff
29294a197c Documentation fixes. 2007-05-20 00:49:02 +00:00
chris_kohlhoff
c39106612e Fix URL-decoding. 2007-05-19 00:03:57 +00:00
chris_kohlhoff
7aae807c5e Need to enable SO_NOSIGPIPE option on FreeBSD. 2007-05-16 12:35:55 +00:00
chris_kohlhoff
3234c32c03 To get portable behaviour for SO_REUSEADDR with UDP, the Mac OS X and BSD
platforms also need SO_REUSEPORT to be set.
2007-05-13 23:00:01 +00:00
chris_kohlhoff
dd3af7b758 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.
2007-05-13 07:59:22 +00:00
chris_kohlhoff
42f99f0e22 Fix compiler warnings. 2007-05-13 07:54:29 +00:00
chris_kohlhoff
5985f8ca3a Preserve the user-set blocking mode over an async connect. 2007-05-12 09:07:32 +00:00
chris_kohlhoff
26ef4a6a03 Need to define IPV6_UNICAST_HOPS when building with an old Platform SDK. 2007-05-12 08:16:25 +00:00
chris_kohlhoff
6d71faeee7 Zero out address structure to prevent failures on some platforms. 2007-05-10 23:48:52 +00:00
chris_kohlhoff
7d32bc7a47 Some older UNIX platforms return EPROTO from accept() to indicate that a
connection was lost before being fully established.
2007-05-09 22:36:02 +00:00
chris_kohlhoff
0f43b3f234 Revert incorrect change to one of the test checks. 2007-05-08 22:48:04 +00:00
chris_kohlhoff
3d2cbf21dc Ensure internal non-blocking flag is set if the user wants non-blocking. 2007-05-08 13:37:53 +00:00
chris_kohlhoff
d0741ddca3 Add documentation note specifying that pending handlers are still executed
after a strand is destroyed.
2007-05-08 13:13:55 +00:00
chris_kohlhoff
df8ee8252b Add example illustrating a custom handler invocation hook. 2007-05-08 12:58:44 +00:00
chris_kohlhoff
476963e8d0 Add header file containing version number. 2007-05-08 12:17:36 +00:00
chris_kohlhoff
ee4d63e31f Fix another incorrect condition. 2007-05-08 10:53:36 +00:00
chris_kohlhoff
7905e7486d Fix test failure caused by incorrect condition check. 2007-05-08 10:47:27 +00:00
chris_kohlhoff
f2d5b143ee Fix boostification of new HTTP server examples. 2007-05-07 11:42:38 +00:00
chris_kohlhoff
304897c329 Ensure html files in src/examples/http/doc_root directory are copied over. 2007-05-07 11:26:36 +00:00
chris_kohlhoff
ea7eb11bee Clarify behaviour of io_service::run() in a thread pool. 2007-05-06 22:32:44 +00:00
chris_kohlhoff
9984b7088d Fix long lines. 2007-05-06 22:18:36 +00:00
chris_kohlhoff
062ffe1b64 Add new HTTP server examples. 2007-05-06 15:02:49 +00:00
chris_kohlhoff
62fcce94b0 Add new HTTP server examples. 2007-05-06 12:44:38 +00:00
chris_kohlhoff
3b0212141b Add HTTP server example demonstrating how to use a single io_service with a
thread pool.
2007-05-06 12:43:04 +00:00
chris_kohlhoff
9a87ceaa3d Use lexicast_cast instead of atoi. Check for 0-sized io_service pool. 2007-05-06 11:35:10 +00:00
chris_kohlhoff
ea110c3301 Fix ip::multicast::enable_loopback option so that it works on Solaris. 2007-05-06 10:51:53 +00:00
chris_kohlhoff
ed22527442 Add http_server example using io_service-per-CPU design. 2007-04-30 23:13:37 +00:00
chris_kohlhoff
d6e6d4ad3b Add support for boost 1.34.0. 2007-04-29 14:33:28 +00:00
chris_kohlhoff
fb0dd5ed54 Fix filename in comment block at top of file. 2007-04-25 08:34:41 +00:00
chris_kohlhoff
21337723ff Fix long line. 2007-04-22 07:07:15 +00:00
chris_kohlhoff
ddb7d66eef Fix bug in timer heap management. 2007-04-22 04:00:24 +00:00
chris_kohlhoff
46ed7d243a Enable buffer debugging for g++ when _GLIBCXX_DEBUG is defined. 2007-04-22 03:58:39 +00:00