Commit Graph

1344 Commits

Author SHA1 Message Date
chris_kohlhoff
53b779b7a5 File is no longer needed. 2008-04-05 06:54:11 +00:00
chris_kohlhoff
1bef47bd84 Add new wrapper classes for stream-oriented handles on Windows. 2008-04-05 06:47:36 +00:00
chris_kohlhoff
0d3390f757 Add porthopper example to demonstrate applications that mix synchronous and
asynchronous operations.
2008-04-05 06:41:54 +00:00
chris_kohlhoff
4d8687bb6d Handle anonymous UNIX domain socket endpoints. 2008-04-03 12:11:48 +00:00
chris_kohlhoff
0ceb3df896 Add support for UNIX domain sockets. 2008-04-03 11:52:44 +00:00
chris_kohlhoff
c9960f6815 Ignore MSVC manifest files. 2008-04-01 23:50:29 +00:00
chris_kohlhoff
4d491c401f Add compile-time tests for the null_buffers support. 2008-04-01 23:49:04 +00:00
chris_kohlhoff
2786514d4a Add a special null_buffers type that allows read and write operations to
be used to indicate the socket's readiness to read or write without
blocking.
2008-04-01 22:14:02 +00:00
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