Commit Graph

563 Commits

Author SHA1 Message Date
chris_kohlhoff
0b8860a644 Update to use new reactor error handling. 2005-09-22 13:25:44 +00:00
chris_kohlhoff
959e97d490 Add error handling to epoll_reactor. 2005-09-22 13:00:05 +00:00
chris_kohlhoff
a5031867f9 Revert previous change. 2005-09-21 22:28:17 +00:00
chris_kohlhoff
81372532c1 Have reactor operations return an error code. 2005-09-21 21:49:37 +00:00
chris_kohlhoff
96fcf7a4df Fix to compile on Win32. 2005-09-21 21:48:40 +00:00
chris_kohlhoff
fd21eaf779 Some fixes for Mac OS X. 2005-09-20 14:12:31 +00:00
chris_kohlhoff
9a13820284 Add new unit tests to automake files. 2005-09-19 14:17:28 +00:00
chris_kohlhoff
e44eb482c3 Add unit tests for remaining public header files. 2005-09-18 23:57:37 +00:00
chris_kohlhoff
1134f50ea4 Convert to use the Boost testing framework and start adding a unit test for
each public header file.
2005-09-18 11:42:35 +00:00
chris_kohlhoff
1960f94b01 Add safe buffer support for arrays, boost::array and vector. 2005-09-18 05:12:36 +00:00
chris_kohlhoff
d7b8eb5f96 Update concepts to reflect new multiple-buffer support. 2005-09-17 05:29:15 +00:00
chris_kohlhoff
44ecb59e6b Use std::size_t rather than size_t in all public interfaces. 2005-09-17 05:14:01 +00:00
chris_kohlhoff
eb762a518f Fix to compile under MinGW. 2005-09-17 04:49:36 +00:00
chris_kohlhoff
6ec48025f5 Fix locking_dispatcher_impl so it builds with Borland C++. 2005-09-17 02:37:59 +00:00
chris_kohlhoff
151233080c Make task_demuxer_service and locking_dispatcher_impl exception safe so
that we don't suppress exceptions.
2005-09-16 13:32:44 +00:00
chris_kohlhoff
6dcdb2f4d3 Don't suppress exceptions thrown from handlers, but instead allow them to
propagate out of the demuxer::run() function.
2005-09-16 12:57:01 +00:00
chris_kohlhoff
d38ea49ee3 Map ERROR_NETNAME_DELETE to a more appropriate error. 2005-09-16 12:33:14 +00:00
chris_kohlhoff
f411a199b8 Use one TSS slot for all demuxers of a given type, rather than one per
demuxer object.
2005-09-15 14:18:30 +00:00
chris_kohlhoff
1ce5db1e20 Add .cvsignore file for new directory. 2005-09-15 12:17:45 +00:00
chris_kohlhoff
debc83bdbe Replace basic_demuxer::work_started() and basic_demuxer::work_finished()
functions by a basic_demuxer::work class that starts the work in the
constructor and finishes it in the destructor. Thanks to Arvid Norberg
<c99ang at cs dot umu dot se> for suggesting this.
2005-09-15 12:16:51 +00:00
chris_kohlhoff
37c437d51b Add iostreams example to makefile. 2005-09-12 10:17:35 +00:00
chris_kohlhoff
9a68d3823d Added Roland Schwarz and Arvid Norberg. 2005-09-12 09:47:17 +00:00
chris_kohlhoff
09228559c4 Add stream output operators for ipv4::address, ipv4::tcp::endpoint and
ipv4::udp::endpoint. Thanks to Arvid Norberg <c99ang at cs dot umu dot se>
for suggesting this.
2005-09-12 09:43:54 +00:00
chris_kohlhoff
2f01eea9a1 Add better support for targeting Win9x/Me platforms. 2005-09-12 08:18:57 +00:00
chris_kohlhoff
d597ff2c6d Fix code missed in earlier conversion to support multiple buffers. 2005-09-12 07:14:22 +00:00
chris_kohlhoff
5807e02554 Fix typo in new socket_ops implementations. 2005-09-12 06:39:41 +00:00
chris_kohlhoff
e8062c390e Convert posix backend to support multiple buffers. 2005-09-12 06:30:50 +00:00
chris_kohlhoff
236bfdab3f Remove control character from comments. 2005-09-12 01:06:45 +00:00
chris_kohlhoff
38ed1b2395 Finish converting buffered stream templates to support multiple buffers on
read and write.
2005-09-10 12:12:59 +00:00
chris_kohlhoff
1066ee2462 Convert buffered_read_stream to use multiple buffers. 2005-09-10 00:28:23 +00:00
chris_kohlhoff
a254c2bf18 Fix for Borland C++. 2005-09-09 12:59:56 +00:00
chris_kohlhoff
f024018981 Convert write functions to use buffers. Change all tests and examples to
use the new buffers support.
2005-09-09 12:44:03 +00:00
chris_kohlhoff
6a63aa0e14 Work in progress checkin for conversion to use buffers concepts. 2005-09-08 22:47:28 +00:00
chris_kohlhoff
67b8ec5c24 Move accept operations into win_iocp_socket_service. 2005-09-08 07:53:18 +00:00
chris_kohlhoff
1cda44cb45 Fix test to take into account that some systems may have network interfaces
that are not known to the DNS server.
2005-09-06 12:34:52 +00:00
chris_kohlhoff
4a7d22dc56 Ensure that WSAStartup/WSACleanup are only called once, as they can leak
on some versions of windows.
2005-09-06 11:29:13 +00:00
chris_kohlhoff
fc5cb44b6e Add support for automatically linking in ws2_32.lib. 2005-09-06 10:26:47 +00:00
chris_kohlhoff
e3a03ef387 Add back missing get_remote_endpoint implementation. 2005-09-04 13:24:46 +00:00
chris_kohlhoff
f3ea72fd66 Add use of get_remote_endpoint. 2005-09-04 13:22:03 +00:00
chris_kohlhoff
851338b117 Make select thread more tolerant of problems when shutting down. 2005-09-04 13:11:54 +00:00
chris_kohlhoff
fcaea2a02a Fix up WSAStartup/WSACleanup calls to ensure that winsock remains
initialised as long as a demuxer object is alive.
2005-09-04 13:08:23 +00:00
chris_kohlhoff
66b8c60c7f asio version 0.3.3 released 2005-09-02 10:56:05 +00:00
chris_kohlhoff
d84fd9edb9 Fix to compile with g++ 2.95.4. 2005-09-01 14:25:39 +00:00
chris_kohlhoff
5c7d97837a Fix more typos in doxygen-specific code. 2005-09-01 13:50:35 +00:00
chris_kohlhoff
0cb07f23dd Remove extraneous closing brace. 2005-09-01 13:47:27 +00:00
chris_kohlhoff
781ee467a6 Add some preliminary design documentation. 2005-09-01 13:36:02 +00:00
chris_kohlhoff
810edf790b Add documentation for handler parameters. 2005-09-01 11:51:30 +00:00
chris_kohlhoff
c29506f1d7 Updated thanks file. 2005-09-01 11:46:26 +00:00
chris_kohlhoff
25dee17c1c Fixes for compiling on MSVC6. 2005-09-01 11:34:44 +00:00
chris_kohlhoff
e03c08e97a Can no longer take the address of any of the socket close functions, so
wrap a function around it.
2005-08-31 12:23:28 +00:00