Commit Graph

1119 Commits

Author SHA1 Message Date
chris_kohlhoff
51f731c014 Fix "possible loss of data" warning when building for Windows 2000 targets. 2008-02-02 07:34:17 +00:00
chris_kohlhoff
8a90ce1045 The latest Windows SDKs don't support IPv6 when building for Windows 2000,
so we need to use the SDK emulation in that case.
2008-02-02 07:33:02 +00:00
chris_kohlhoff
21899133ea Ensure that the workaround for the MSVC secure iterator problem is only
used when compiling with MSVC. The workaround causes g++'s library debug
mode to report errors due to the assignment from a singular iterator.
2008-02-02 07:31:00 +00:00
chris_kohlhoff
df61faa99b Set the openssl callback function for getting a thread ID. 2008-01-16 13:24:49 +00:00
chris_kohlhoff
5531caafb6 The header file win_iocp_operation.hpp has been removed. 2008-01-14 13:05:40 +00:00
chris_kohlhoff
a314529da0 Keep track of the number of OVERLAPPED-derived operations to ensure that
they all get cleaned up when the io_service is destroyed.
2008-01-14 13:02:57 +00:00
chris_kohlhoff
6a982e260a Try to fix possible thread-safety issues in SSL wrapper. 2008-01-14 12:50:15 +00:00
chris_kohlhoff
1cd3cb1b80 Don't call epoll_wait/kevent if there are no old operations (where old means
added prior to the last epoll_wait/kevent call) wneeding to be
demultiplexed.
2008-01-14 12:20:42 +00:00
chris_kohlhoff
6e96d07db7 Don't include sys/time.h when compiling with aCC, as that header does not
supply pselect(), which is needed for HP-UX/aCC to work correctly.
2008-01-14 12:18:03 +00:00
chris_kohlhoff
227a9c4627 Enable /Wp64 compiler flag so that we can check whether its warnings have
been correctly suppressed.
2008-01-14 12:15:14 +00:00
chris_kohlhoff
2be28e8b9b Only perform the windows-bug workaround where we use a short timeout with
GetQueuedCompletionStatus from one thread, i.e. the time thread.
2008-01-14 12:13:34 +00:00
chris_kohlhoff
c600d66207 Silence some integer truncation warnings. 2008-01-14 12:09:48 +00:00
chris_kohlhoff
24814c6c08 Add missing broken pipe error. 2008-01-14 11:54:06 +00:00
chris_kohlhoff
665fcfc9b0 Silence some integer truncation warnings. 2008-01-14 11:52:37 +00:00
chris_kohlhoff
7b4f386153 Disable noisy and incorrect /Wp64 warnings generated by MSVC. 2008-01-14 11:51:21 +00:00
chris_kohlhoff
97e452dec4 Check for truncation when converting buffer size from size_t to openssl's
int argument.
2008-01-14 11:40:52 +00:00
chris_kohlhoff
2be103d536 Fixes for older versions of HP-UX. 2007-12-12 12:10:26 +00:00
chris_kohlhoff
819678136b Update docs. 2007-12-12 12:06:50 +00:00
chris_kohlhoff
790f2f6c83 Fix concept name in comment. 2007-12-12 11:52:37 +00:00
chris_kohlhoff
0837738423 asio version 0.3.9 released 2007-12-08 14:13:05 +00:00
chris_kohlhoff
f50a641ef6 Ensure the asio header file always comes before boost/thread.hpp. 2007-12-08 13:59:10 +00:00
chris_kohlhoff
9c1eaab0c1 Remove incorrect date. 2007-12-08 13:22:32 +00:00
chris_kohlhoff
ca46d761d6 Fix links to classes. 2007-12-08 12:48:42 +00:00
chris_kohlhoff
855ca73ecc Use boost 1.34.1 by default. 2007-12-08 10:42:21 +00:00
chris_kohlhoff
1b1268d01a Fix signed/unsigned comparison warning on FreeBSD. 2007-12-08 08:15:03 +00:00
chris_kohlhoff
97a7bde09a Show initialisers for static member variables. 2007-12-08 00:23:52 +00:00
chris_kohlhoff
6be307f8e5 Documentation updates. 2007-12-07 23:35:07 +00:00
chris_kohlhoff
b5f5f1bd58 Fix do_async_read() signature to work with read function object. 2007-12-07 12:51:28 +00:00
chris_kohlhoff
63d0ffe044 Try to fix stall when sending large blocks of data over SSL. 2007-12-07 12:42:03 +00:00
chris_kohlhoff
10ed2d0cde Don't use deprecated function workaround when compiling for Windows CE. 2007-12-05 21:33:17 +00:00
chris_kohlhoff
c383e5d93f Prevent deprecated function warnings for MSVC >= 8. 2007-12-04 21:11:07 +00:00
chris_kohlhoff
e1d484fd1b Use a better unspecified-bool implementation. 2007-12-01 22:45:05 +00:00
chris_kohlhoff
2cd5a25800 Add macro documentation. 2007-11-29 21:47:21 +00:00
chris_kohlhoff
5a660d9257 Update implementation notes to match current Win32 implementation where
timers no longer require a separate thread.
2007-11-29 21:46:22 +00:00
chris_kohlhoff
13896a731f Make async operations fail with an error if the socket descriptor doesn't
fit into the select call's fd_set.
2007-11-28 12:40:18 +00:00
chris_kohlhoff
4d9fc53d14 WinCE doesn't work with all multicast addresses, and even though it doesn't
support the multicast::enable_loopback option you can still get the value.
2007-11-26 21:10:06 +00:00
chris_kohlhoff
ef73c8dec2 Remove extraneous leading underscores. 2007-11-19 21:28:58 +00:00
chris_kohlhoff
8facdb535e Category getter functions need to be inline. 2007-11-15 06:56:31 +00:00
chris_kohlhoff
6df6aefd87 Try to fix order-of-initialisation problem in the boost-version of asio. 2007-11-15 05:55:48 +00:00
chris_kohlhoff
ed60f2db60 Add a workaround for MSVC secure iterator problem where allowing the
destruction of an iterator to an already-destroyed string object results in
a program crash. Revert previous change to destroy buffers prior to
invoking the handler since it didn't fix the problem and wasn't cleaning
up all copies of the buffers anyway.
2007-11-13 11:47:10 +00:00
chris_kohlhoff
aa41681de5 Cannot perform concurrent operations on the /dev/poll descriptor where
the sockets descriptors involved may already be being waited on. Changed
the dev_poll_reactor class to keep a vector of pending event changes and
interrupt the /dev/poll ioctl() wait to apply it.
2007-11-12 11:48:59 +00:00
chris_kohlhoff
83a1c63803 Fix timer stalls. 2007-11-08 07:50:44 +00:00
chris_kohlhoff
b3eb64c85d Eliminate the need for an extra thread to perform timer dispatching. 2007-11-08 04:03:23 +00:00
chris_kohlhoff
1448ba241a Add checks for expected failures on Windows CE. 2007-11-05 12:31:13 +00:00
chris_kohlhoff
7a48110126 Check for expected failures on WinCE. 2007-11-05 12:23:37 +00:00
chris_kohlhoff
901f790df7 Don't set errno when building for Windows targets. Should fix WinCE build. 2007-11-05 10:34:26 +00:00
chris_kohlhoff
ce1da82ed9 Need to use wide character functions WSAAddressToStringW and
WSAStringToAddressW when building for WinCE.
2007-11-04 12:32:13 +00:00
chris_kohlhoff
a1b0a1fa53 Silence warning resulting from conversion from size_t to int. 2007-11-04 12:18:12 +00:00
chris_kohlhoff
a97fefc9b3 The IPPROTO_IP/IP_MULTICAST_TTL option is a 4-byte integer under WinCE. 2007-11-04 12:10:27 +00:00
chris_kohlhoff
adf82b57eb WinCE socket functions are provided by ws2.lib. 2007-11-04 12:01:32 +00:00