Commit Graph

851 Commits

Author SHA1 Message Date
chris_kohlhoff
7476d97e9a Include <ostream> instead of <iostream>. 2006-11-19 21:21:29 +00:00
chris_kohlhoff
d6f0b0ba7e Add missing inline keyword, needed to fix multiple definition errors. 2006-11-19 21:18:39 +00:00
chris_kohlhoff
ea0a6e54e3 Add a workaround for an apparent Windows bug where the delivery of
asynchronous I/O completions is delayed if the thread used to start the
operation is CPU bound.
2006-11-17 11:34:32 +00:00
chris_kohlhoff
aa41040cd3 Remove the error::success constant since with the new error_code stuff
there is no unique value for success.
2006-11-17 10:38:57 +00:00
chris_kohlhoff
0ed83086c1 Remove unnecessary invoke hook since the default one provides the correct
behaviour, and including it here for the invoke_current_handler class breaks
MSVC 7.1 when generating browse information.
2006-11-16 11:23:23 +00:00
chris_kohlhoff
fd0246b896 Add ability to specify the level of concurrency desired, which is currently
used by Win32's I/O completion ports.
2006-11-15 22:25:33 +00:00
chris_kohlhoff
c9d679e579 Need to add boost/cerrno.hpp include in error.hpp. 2006-11-15 22:09:46 +00:00
chris_kohlhoff
9dbc37a28f Need to clear error after successful call of WSAAddressToString or
WSAStringToAddress.
2006-11-15 22:05:11 +00:00
chris_kohlhoff
1104e5a200 Don't use named temporary since it confuses g++ 3.3. 2006-11-14 10:37:35 +00:00
chris_kohlhoff
172c62cb31 Fix -Wextra warning. 2006-11-14 10:13:02 +00:00
chris_kohlhoff
43d5ca9853 Change to use function-based placeholders for gcc to avoid some duplicate
symbol linker problems.
2006-11-14 10:10:58 +00:00
chris_kohlhoff
864454cd2e Remove documentation that is no longer correct. 2006-11-10 12:49:31 +00:00
chris_kohlhoff
16c2299f3a Ensure that what gets thrown is the system_error exception. 2006-11-09 10:02:33 +00:00
chris_kohlhoff
cf7302074d Remove inclusion of boost/cerrno.hpp header. 2006-11-09 05:15:03 +00:00
chris_kohlhoff
5ab5b31498 The openssl_locking_func() callback can be invoked through
OpenSSL_add_ssl_algorithms(), which causes instance() to be called
recursively before the static shared_ptr was initialized.
2006-11-09 02:14:51 +00:00
chris_kohlhoff
c9b410a401 Fix comment headers to match file names. 2006-11-08 07:26:03 +00:00
chris_kohlhoff
a46d31c293 Fix Win32 build. 2006-11-07 13:50:03 +00:00
chris_kohlhoff
a670dd64ad Add back Sleep() call that was accidentally removed. 2006-11-07 13:38:01 +00:00
chris_kohlhoff
810ff8a2f4 Fix boost-layout conversion. 2006-11-07 12:39:24 +00:00
chris_kohlhoff
c40c18b62a Fix documentation index. 2006-11-05 08:14:24 +00:00
chris_kohlhoff
0177df0459 Change error handling to match TR2 proposal. 2006-11-05 08:01:30 +00:00
chris_kohlhoff
2e819c334a Rework placeholders to avoid ODR violations. 2006-11-05 04:59:36 +00:00
chris_kohlhoff
fddfb62053 Ignore output of latest version of boostify.pl. 2006-11-04 08:16:07 +00:00
chris_kohlhoff
7882895072 Get resolver_service implementation from correct namespace. 2006-10-31 12:42:29 +00:00
chris_kohlhoff
046eb9b997 Update Jamfiles to use new test names. 2006-10-31 11:08:18 +00:00
chris_kohlhoff
1a93029943 Rename unit tests to keep filenames shorter than 31 chars. 2006-10-31 11:05:41 +00:00
chris_kohlhoff
2f9f27b551 Add copyright notice to README file. 2006-10-31 06:17:22 +00:00
chris_kohlhoff
d2aa2538fe Rename win_local_free_on_block_exit to local_free_on_block_exit to get the
header file name under 31 chars.
2006-10-31 06:14:59 +00:00
chris_kohlhoff
5dc17dc5b0 Add empty unit test for read_until. 2006-10-31 06:07:41 +00:00
chris_kohlhoff
226638a09c Move basic_resolver and resolver_service into the asio::ip namespace. 2006-10-31 05:51:30 +00:00
chris_kohlhoff
609819af05 Add copyright notice. 2006-10-30 12:07:54 +00:00
chris_kohlhoff
29fae41653 Use static_cast to suppress some integer conversion warnings. 2006-10-29 21:28:12 +00:00
chris_kohlhoff
68fe17867e Ensure IOCP queue is drained correctly at shutdown. 2006-10-28 01:37:30 +00:00
chris_kohlhoff
0d0af5da68 Add buffer debugging support. 2006-10-26 23:17:00 +00:00
chris_kohlhoff
bd2bb49295 Fix removal of timer queue. 2006-10-26 23:05:53 +00:00
chris_kohlhoff
5313a22933 Fix Borland C++ compile. 2006-10-20 00:56:13 +00:00
chris_kohlhoff
87bf747f85 Use preprocessor check for presence or otherwise of wide iostreams. 2006-10-19 22:38:50 +00:00
chris_kohlhoff
089fe502e5 The win_fd_set_size enum value needs to be public. 2006-10-19 21:56:38 +00:00
chris_kohlhoff
adbdd4c29b Fix crash that occurs when multiple threads try to create the
deadline_timer_service simultaneously.
2006-10-19 16:42:03 +00:00
chris_kohlhoff
c1daa84872 Remove spurious return keyword. 2006-10-19 00:10:24 +00:00
chris_kohlhoff
62ecb2bfa2 Fix line length. 2006-10-17 18:46:06 +00:00
chris_kohlhoff
2f9be7dfd3 Add FreeBSD support. 2006-10-06 14:50:32 +00:00
chris_kohlhoff
f367bbdc4c GetQueuedCompletionStatus has only failed if it returns FALSE and the
overlapped pointer is NULL.
2006-10-04 21:43:43 +00:00
chris_kohlhoff
9bdef5f755 gethostname must be outside the emulation-only block. 2006-10-04 13:18:41 +00:00
chris_kohlhoff
3c85744cc2 Remove reference to non-POSIX EAI_NODATA. 2006-10-04 13:01:22 +00:00
chris_kohlhoff
5eec9a48fd NetBSD, FreeBSD and OpenBSD all use the same form of strerror_r. 2006-10-04 12:54:58 +00:00
chris_kohlhoff
b3b59ec6aa Only wrap gethostbyname, gethostbyaddr and friends if needed for emulation
of getaddrinfo and getnameinfo.
2006-10-04 12:53:52 +00:00
chris_kohlhoff
fad39a97df The macros FIONREAD and FIONBIO are not integer constants on all platforms,
and so cannot be used as template arguments.
2006-10-02 12:27:57 +00:00
chris_kohlhoff
a703d37853 Set the reuse_address option by default on acceptors. 2006-09-26 22:54:46 +00:00
chris_kohlhoff
c3cbe97663 Add ability to customise the SSL password callback function. 2006-09-24 07:46:23 +00:00