Commit Graph

1157 Commits

Author SHA1 Message Date
chris_kohlhoff
6c7eefb238 Add new directories. 2008-04-12 10:11:26 +00:00
chris_kohlhoff
47eb5689d4 Add documentation on the limits of the number of buffers that may be
transferred in individual operations.
2008-04-12 07:23:41 +00:00
chris_kohlhoff
4c6bd8f8f2 Fix typos. 2008-04-12 07:17:10 +00:00
chris_kohlhoff
fd82a96728 Add ability to disable the uses of the typeid operator by defining
BOOST_NO_TYPEID or ASIO_NO_TYPEID.
2008-04-12 07:10:59 +00:00
chris_kohlhoff
b4fa503368 Add compile-time tests for POSIX stream-oriented file descriptor support. 2008-04-07 12:20:38 +00:00
chris_kohlhoff
2ad5f71c47 Enhance example to make it clear that invocation hooking can be used with
asynchronous operations.
2008-04-07 10:15:30 +00:00
chris_kohlhoff
d16a622cb4 Add compile time tests for Windows stream-oriented handles. 2008-04-07 01:01:48 +00:00
chris_kohlhoff
cc31da1d1a Add compile-time tests for the UNIX domain socket support. 2008-04-05 23:08:39 +00:00
chris_kohlhoff
129d0eb535 Add new wrapper classes for stream-oriented file descriptors on POSIX
platforms.
2008-04-05 13:26:37 +00:00
chris_kohlhoff
f75d65b72f Add missing file win_iocp_handle_service.hpp. 2008-04-05 10:25:54 +00:00
chris_kohlhoff
cbbb254d22 Fix include guard names. 2008-04-05 07:43:52 +00:00
chris_kohlhoff
8f2faaeed0 Add missing #includes need to make file self-contained. 2008-04-05 06:58:38 +00:00
chris_kohlhoff
70a42f1a00 Ignore manifest files generated by MSVC. 2008-04-05 06:54:55 +00:00
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