Commit Graph

  • 1a1f24c49f Fix printing of error messages. Christopher Kohlhoff 2008-02-18 13:31:26 +0000
  • 86dc84f36d Need to define _XOPEN_SOURCE_EXTENDED when compiling for HP-UX. Christopher Kohlhoff 2008-02-11 13:59:44 +0000
  • 697ef44e1c The latest Windows SDKs don't support IPv6 when building for Windows 2000, so we need to use the SDK emulation in that case. Christopher Kohlhoff 2008-02-02 12:02:23 +0000
  • 57f75e9a24 Fix "possible loss of data" warning when building for Windows 2000 targets. Christopher Kohlhoff 2008-02-02 11:39:17 +0000
  • f50757120a 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. Christopher Kohlhoff 2008-02-02 11:37:45 +0000
  • 0b26077356 Set the openssl callback function for getting a thread ID. Christopher Kohlhoff 2008-01-16 13:46:01 +0000
  • 1f215cd262 Check for truncation when converting buffer size from size_t to openssl's int argument. Christopher Kohlhoff 2008-01-14 13:29:08 +0000
  • 0841027789 Silence some integer truncation warnings. Christopher Kohlhoff 2008-01-14 13:27:52 +0000
  • 95e7a5a83f Silence some integer truncation warnings. Christopher Kohlhoff 2008-01-14 13:25:24 +0000
  • d02ff9fd31 Don't call epoll_wait/kevent if there are no old operations (where old means added prior to the last epoll_wait/kevent call) needing to be demultiplexed. Christopher Kohlhoff 2008-01-14 13:24:28 +0000
  • 66e7e8235b Disable noisy and incorrect /Wp64 warnings generated by MSVC. Christopher Kohlhoff 2008-01-14 13:22:21 +0000
  • 0481bc277b 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. Christopher Kohlhoff 2008-01-14 13:21:37 +0000
  • e73e772d7f Add missing broken pipe error. Christopher Kohlhoff 2008-01-14 13:20:06 +0000
  • 2e343266ab Fix concept name in comment. Christopher Kohlhoff 2008-01-14 13:13:35 +0000
  • 30db47b9f8 Documentation fixes. Christopher Kohlhoff 2007-12-17 13:17:46 +0000
  • 197952d66b Bump version number. Christopher Kohlhoff 2007-12-17 13:08:10 +0000
  • 808e0862ba Fixes for older HP-UX. Christopher Kohlhoff 2007-12-17 13:04:30 +0000
  • 505192a463 Merged revisions 41701-41702,41706,41708-41726,41728-41733,41737,41743-41769,41771-41774,41776-41777,41779-41787,41790,41792-41794,41796-41797,41799-41800,41803-41804,41806-41818,41820-41829,41831-41841,41843-41862,41865,41867-41870 via svnmerge from https://svn.boost.org/svn/boost/trunk Christopher Kohlhoff 2007-12-15 22:00:19 +0000
  • 09665bffa4 Ensure asio header comes before boost.thread header. Christopher Kohlhoff 2007-12-08 14:03:40 +0000
  • 931e25063d Suppress signed/unsigned warning. Christopher Kohlhoff 2007-12-08 13:48:52 +0000
  • cc9a0bb517 Documentation fixes. Christopher Kohlhoff 2007-12-08 13:00:45 +0000
  • c049e9cb53 Documentation fixes. Christopher Kohlhoff 2007-12-08 00:18:59 +0000
  • 8d4d725277 Try to fix stall when sending large amounts of data over SSL. Christopher Kohlhoff 2007-12-07 12:53:39 +0000
  • 1c123accd8 Don't use deprecated function workaround when compiling for Windows CE. Christopher Kohlhoff 2007-12-05 21:46:19 +0000
  • 312551ab47 Prevent deprecated function warnings for MSVC >= 8. Christopher Kohlhoff 2007-12-04 21:28:42 +0000
  • 87374c4f88 Merge revisions 41407, 41432, 41477, 41478 from trunk. Christopher Kohlhoff 2007-12-03 11:56:15 +0000
  • df404ca958 Add macro documentation. Christopher Kohlhoff 2007-11-29 22:26:44 +0000
  • 8b36f0a0fd Update implementation notes to match current Win32 implementation where timers no longer require a separate thread. Christopher Kohlhoff 2007-11-29 22:26:02 +0000
  • 1172215e3d Make async operations fail with an error if the socket descriptor doesn't fit into the select call's fd_set. Christopher Kohlhoff 2007-11-28 13:26:33 +0000
  • 771774b926 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. Christopher Kohlhoff 2007-11-26 21:29:38 +0000
  • c46f430670 Full merge from trunk at revision 41356 of entire boost-root tree. Beman Dawes 2007-11-25 18:38:02 +0000
  • 2f3a9792f8 Full merge from trunk at revision 41356 of entire boost-root tree. Beman Dawes 2007-11-25 18:07:19 +0000
  • 7ba40bdcb8 // Add or correct comment identifying Boost library this header is associated with. Beman Dawes 2007-11-17 20:13:16 +0000
  • b2f9935ba1 Get rid of .cvsignore files Beman Dawes 2007-11-15 15:20:27 +0000
  • 5c14db353b Try to fix an order-of-initialisation problem with error_category references. The symptom, which only occurs in some applications, is a crash due to a dereference of a null pointer. The exact conditions under which the problem occurs are not fully understood, so this fix is probably more paranoid than necessary. Christopher Kohlhoff 2007-11-15 06:19:04 +0000
  • 45add4d11e 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. Christopher Kohlhoff 2007-11-13 12:50:27 +0000
  • 970375748c 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. Christopher Kohlhoff 2007-11-12 12:07:39 +0000
  • 7de155b732 Fix timer stalls. Christopher Kohlhoff 2007-11-08 07:52:49 +0000
  • 1086746c7d Eliminate the need for an extra thread to perform timer dispatching. Christopher Kohlhoff 2007-11-08 04:10:14 +0000
  • f2011108b6 Add copyright notice. Christopher Kohlhoff 2007-11-07 06:49:36 +0000
  • 33dfeb1789 Add checks for expected failures on Windows CE. Christopher Kohlhoff 2007-11-05 12:38:39 +0000
  • 556cbac864 Don't set errno when building for Windows targets. Should fix WinCE build. Christopher Kohlhoff 2007-11-05 11:52:52 +0000
  • 6e1a010a72 Some changes to enable support for WinCE. Christopher Kohlhoff 2007-11-04 21:25:49 +0000
  • 9db4bb6bc0 Fix memory leak when an io_service is allowed to destruct with unfinished async_wait operations. Christopher Kohlhoff 2007-11-01 22:42:26 +0000
  • 2ded97148e HP-UX fails to declare if_nametoindex as extern "C". Added a declaration for it with correct linkage to avoid a linker error. Christopher Kohlhoff 2007-10-29 13:08:32 +0000
  • d306f9dafe Use GetModuleHandleA rather than GetModuleHandle to avoid being broken by UNICODE #defines. Christopher Kohlhoff 2007-10-29 13:07:08 +0000
  • 3787272722 Ensure the task handler is put back on the queue after polling. Christopher Kohlhoff 2007-10-29 13:06:39 +0000
  • 644ed0fa71 Mac OS X 10.5 (Leopard) gives a compile error if you try to perform an operation on a const fd_set pointer. Christopher Kohlhoff 2007-10-29 13:06:12 +0000
  • 72198ee954 Fixes for HP-UX test failures. Christopher Kohlhoff 2007-10-24 13:23:59 +0000
  • 9f319db484 Clean up documentation. Christopher Kohlhoff 2007-10-23 13:31:12 +0000
  • cca0c50ca1 Documentation fixes. Christopher Kohlhoff 2007-10-23 08:09:46 +0000
  • 4915994d7c Only use pselect() when compiling with aCC. Christopher Kohlhoff 2007-10-23 08:09:21 +0000
  • 1122c04976 Fix address_v6::operator<. Christopher Kohlhoff 2007-10-21 08:13:21 +0000
  • 34a91ea73c Seems that the watermark socket options are supported on HP-UX 11i v3. Christopher Kohlhoff 2007-10-21 07:59:53 +0000
  • 46191ad216 Use an unsigned char for the enable_loopback socket option on HP-UX. Christopher Kohlhoff 2007-10-21 07:30:04 +0000
  • 9df40d565a On HP-UX use pselect() rather than select() to avoid weirdness where different select() prototypes are declared depending on the order the system headers are included. Christopher Kohlhoff 2007-10-21 07:09:19 +0000
  • a694fc7ba7 Documentation fixes. Christopher Kohlhoff 2007-10-21 05:46:47 +0000
  • 827c767b80 HP-UX fails to declare if_nametoindex and if_indextoname as extern "C". Added declarations for them with correct linkage to avoid linker errors. Christopher Kohlhoff 2007-10-21 05:46:15 +0000
  • 9f6bab9893 Ensure the buffers and completion condition objects are destroyed before the completion handler is invoked. Christopher Kohlhoff 2007-10-21 01:48:03 +0000
  • 811d967f52 Add get_io_service() synonym for io_service() to match TR2 proposal. Christopher Kohlhoff 2007-10-19 08:09:55 +0000
  • b4384805aa Assume that Tru64 also needs SIGPIPE to be blocked. Christopher Kohlhoff 2007-10-18 08:34:03 +0000
  • 14d49a688a Add dummy enum for ssl errors. Change to static const references to error category objects to be consistent with boost.system. Christopher Kohlhoff 2007-10-17 14:04:42 +0000
  • 4010cfe9de Add define to disable /dev/poll support. Christopher Kohlhoff 2007-10-17 08:20:30 +0000
  • 5af39ab4ef Make Windows XP the default target Windows version as the latest Windows SDK doesn't support IPv6 for Windows 2000 targets. Christopher Kohlhoff 2007-10-17 07:58:38 +0000
  • bd35039449 Throw an exception if unable to create a pipe for the pipe_select_interrupter. Christopher Kohlhoff 2007-10-17 07:25:03 +0000
  • 87cfb10267 Borland C++ wants friendship for the task_cleanup nested class. Christopher Kohlhoff 2007-10-17 05:22:26 +0000
  • 2865a15b93 Revert HP-UX/aCC change to select() wrapper as it breaks more than it fixes. Christopher Kohlhoff 2007-10-17 04:44:38 +0000
  • 9fc86e1351 Add a /dev/poll reactor implementation for Solaris. Christopher Kohlhoff 2007-10-10 23:12:06 +0000
  • 36edaaf006 Try changing the default target to Windows XP rather than Windows 2000 to see effect on borland-5.9.2. Christopher Kohlhoff 2007-10-09 21:59:38 +0000
  • 96a6faa937 HP-UX with aCC uses a variant of select() that takes int* arguments rather than fd_set*. Christopher Kohlhoff 2007-10-09 21:47:40 +0000
  • 4fa7155b45 Assume that HP-UX and AIX both need to have SIGPIPE blocked. Christopher Kohlhoff 2007-10-09 21:47:07 +0000
  • ddbb696058 The epoll_wait function can produce EPOLLHUP events for a descriptor even if not specifically requested, resulting in a tight loop of calls to epoll_wait. Delete a descriptor from epoll if an EPOLLHUP event is received and there are no registered operations for the descriptor. Christopher Kohlhoff 2007-10-07 00:11:25 +0000
  • 27ad77577b Try using an unsigned char for the multicast::enable_loopback socket option when compiling for Tru64. Christopher Kohlhoff 2007-10-03 01:43:08 +0000
  • e52d0569e1 Add missing #include needed for MinGW. Christopher Kohlhoff 2007-10-03 01:40:55 +0000
  • 7825a45960 Add missing "lib ipv6 ;" that's needed for HP-UX. Christopher Kohlhoff 2007-09-25 01:56:46 +0000
  • 0987067acc Add extra library 'ipv6' needed on HP-UX. Christopher Kohlhoff 2007-09-24 13:32:47 +0000
  • fe53d29503 Fix warning on AIX about omitted 'private' keyword when deriving from noncopyable. Christopher Kohlhoff 2007-09-24 13:29:12 +0000
  • 2cd240ee88 Output error codes and error messages when a test fails. Christopher Kohlhoff 2007-09-24 13:21:49 +0000
  • 331beee1a6 Check whether exceptions are enabled on the output iostream and throw or not throw errors accordingly. Christopher Kohlhoff 2007-09-24 13:21:03 +0000
  • e5c82d221a Try making the ip::multicast::enable_loopback socket option an unsigned char on AIX. Christopher Kohlhoff 2007-09-24 13:19:31 +0000
  • cad9b88130 Strict compilers don't like it when you pass a function with C linkage as an argument when the parameter type has C++ linkage. Try using the type of the msghdr::msg_namelen field as an alternative way of deducing the socklen_t-equivalent type. Christopher Kohlhoff 2007-09-21 12:34:19 +0000
  • 7b6b09d2a2 Fix documentation generation. Christopher Kohlhoff 2007-09-21 05:42:55 +0000
  • 8bd94f4e69 Regenerate documentation. Christopher Kohlhoff 2007-09-20 22:44:33 +0000
  • 1837283e91 Eliminate use of types and structure members that may not be present when build for non-XOPEN targets. Christopher Kohlhoff 2007-09-20 22:33:29 +0000
  • 7e67ec6336 Some compilers require namespace-scope declarations of use_service, has_service and add_service. Christopher Kohlhoff 2007-09-20 22:30:54 +0000
  • ae79df6318 Move handler queue management to a separate class. Christopher Kohlhoff 2007-09-20 22:26:55 +0000
  • d61cf1e0b8 Larger storage size needed for Windows x64. Christopher Kohlhoff 2007-09-20 22:20:57 +0000
  • 50e479d4ab Fix unused argument warning. Christopher Kohlhoff 2007-09-18 13:13:40 +0000
  • 520f11ff1b AIX seems to have the socket address family as an unsigned char rather than unsigned short. Christopher Kohlhoff 2007-09-12 12:24:21 +0000
  • 3e05da91c1 Use enum-based error code constants. Christopher Kohlhoff 2007-09-11 11:17:56 +0000
  • 9f53a075ff Define _WIN32_WINNT to suppress warnings. Add define necessary for building with cygwin. Christopher Kohlhoff 2007-09-01 07:32:28 +0000
  • a79f4c70ea Fix problem where a thread can go idle even if there are handlers that are ready to be dispatched. Christopher Kohlhoff 2007-09-01 06:41:15 +0000
  • 2a61b8a501 Add #include needed for IOV_MAX. Christopher Kohlhoff 2007-09-01 06:33:44 +0000
  • 817fe44ac4 Ensure that a strand is kept alive as long as there are wrapped handlers for it. Christopher Kohlhoff 2007-09-01 06:28:40 +0000
  • 992d80498d Add AIX-specific compile time test for whether sockaddr_storage's family field is called ss_family or __ss_family. Christopher Kohlhoff 2007-09-01 06:25:55 +0000
  • 71d9f010a8 Enable buffer() overload workaround for Sun C++. Christopher Kohlhoff 2007-09-01 06:20:19 +0000
  • ff67d39c15 Ignore errors from shutdown(). Christopher Kohlhoff 2007-09-01 06:13:02 +0000
  • df83f01414 Need to try binding the acceptor to test whether IPv6 is supported. Christopher Kohlhoff 2007-09-01 06:08:45 +0000
  • 00be9349dc Revive V1 Jamfiles at Christopher's request Vladimir Prus 2007-08-21 13:55:41 +0000
  • 9df7f38577 Fix unused argument warnings. Christopher Kohlhoff 2007-08-20 14:32:05 +0000