Commit Graph

1136 Commits

Author SHA1 Message Date
chris_kohlhoff
e88cdf3204 Fix infinite recursion in the ssl::stream's shutdown() implementation. 2008-04-01 21:46:16 +00:00
chris_kohlhoff
cab2cb8bdc Improve efficiency of basic_streambuf::consume() by using a single call to
gbump() rather than calling sbumpc() in a loop.
2008-04-01 21:43:40 +00:00
chris_kohlhoff
07565c1869 asio version 1.0.0 released 2008-03-30 08:01:08 +00:00
chris_kohlhoff
097513b58d Fix doc jamfile to work with latest boost. 2008-03-30 02:35:11 +00:00
chris_kohlhoff
43c99e6a6d Fix double-free error that occurs when an exception is thrown from a
handler that has been dispatched (i.e. not posted) through a strand.
2008-03-27 14:16:36 +00:00
chris_kohlhoff
363e00a889 Fix incorrect use of sin_port with a sockaddr_in6 structure. 2008-03-13 06:52:47 +00:00
chris_kohlhoff
06fd93ffd2 Use unions to fix a sockaddr_storage aliasing problem that shows up with
g++ 4.3.0.
2008-03-12 13:19:37 +00:00
chris_kohlhoff
8785112b82 Revert to having the windows-bug workaround (short timeout on
GetQueuedCompletionStatus) on all threads as there are still scenarios
where threads can get stuck indefinitely.
2008-03-12 12:48:41 +00:00
chris_kohlhoff
61a9b5f212 Update copyright notices. 2008-03-03 13:46:10 +00:00
chris_kohlhoff
62d0c64c95 Regenerate documentation. 2008-03-03 13:35:55 +00:00
chris_kohlhoff
a416c8141c Disable use of CancelIo by default, due to the possibility of silent
failure on some system configurations. Swallow error returned by CancelIoEx
if there are no operations to be cancelled.
2008-03-03 12:34:19 +00:00
chris_kohlhoff
df3204bdb4 Fix error in string replacement of 'asio_handler_invoke_helpers'. 2008-03-03 12:28:36 +00:00
chris_kohlhoff
bd956c856c Add support for building the SSL test and examples, and for specifying
which runtime library to use, the target version of Windows, etc.
2008-03-03 12:25:20 +00:00
chris_kohlhoff
ecf081b4af Add missing tie(). 2008-02-29 12:48:23 +00:00
chris_kohlhoff
87f1b82936 Use the correct vector of timer queues when dispatching timers. 2008-02-22 22:23:08 +00:00
chris_kohlhoff
34c5f68a30 Need to include socket_types.hpp for all ssl headers to compile standalone. 2008-02-11 13:41:10 +00:00
chris_kohlhoff
9febd60ab2 Fix error messages. 2008-02-11 13:36:23 +00:00
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