2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-26 14:52:09 +00:00
Commit Graph

234 Commits

Author SHA1 Message Date
Christopher Kohlhoff
8d4d725277 Try to fix stall when sending large amounts of data over SSL.
[SVN r41823]
2007-12-07 12:53:39 +00:00
Christopher Kohlhoff
1c123accd8 Don't use deprecated function workaround when compiling for Windows CE.
[SVN r41762]
2007-12-05 21:46:19 +00:00
Christopher Kohlhoff
312551ab47 Prevent deprecated function warnings for MSVC >= 8.
[SVN r41701]
2007-12-04 21:28:42 +00:00
Christopher Kohlhoff
df404ca958 Add macro documentation.
[SVN r41478]
2007-11-29 22:26:44 +00:00
Christopher Kohlhoff
8b36f0a0fd Update implementation notes to match current Win32 implementation where
timers no longer require a separate thread.


[SVN r41477]
2007-11-29 22:26:02 +00:00
Christopher Kohlhoff
1172215e3d Make async operations fail with an error if the socket descriptor doesn't
fit into the select call's fd_set.


[SVN r41432]
2007-11-28 13:26:33 +00:00
Christopher Kohlhoff
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.


[SVN r41407]
2007-11-26 21:29:38 +00:00
Beman Dawes
7ba40bdcb8 // Add or correct comment identifying Boost library this header is associated with.
[SVN r41173]
2007-11-17 20:13:16 +00:00
Beman Dawes
b2f9935ba1 Get rid of .cvsignore files
[SVN r41107]
2007-11-15 15:20:27 +00:00
Christopher Kohlhoff
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.


[SVN r41100]
2007-11-15 06:19:04 +00:00
Christopher Kohlhoff
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.


[SVN r41059]
2007-11-13 12:50:27 +00:00
Christopher Kohlhoff
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.


[SVN r41028]
2007-11-12 12:07:39 +00:00
Christopher Kohlhoff
7de155b732 Fix timer stalls.
[SVN r40924]
2007-11-08 07:52:49 +00:00
Christopher Kohlhoff
1086746c7d Eliminate the need for an extra thread to perform timer dispatching.
[SVN r40919]
2007-11-08 04:10:14 +00:00
Christopher Kohlhoff
f2011108b6 Add copyright notice.
[SVN r40874]
2007-11-07 06:49:36 +00:00
Christopher Kohlhoff
33dfeb1789 Add checks for expected failures on Windows CE.
[SVN r40783]
2007-11-05 12:38:39 +00:00
Christopher Kohlhoff
556cbac864 Don't set errno when building for Windows targets. Should fix WinCE build.
[SVN r40779]
2007-11-05 11:52:52 +00:00
Christopher Kohlhoff
6e1a010a72 Some changes to enable support for WinCE.
[SVN r40759]
2007-11-04 21:25:49 +00:00
Christopher Kohlhoff
9db4bb6bc0 Fix memory leak when an io_service is allowed to destruct with unfinished
async_wait operations.


[SVN r40670]
2007-11-01 22:42:26 +00:00
Christopher Kohlhoff
2ded97148e HP-UX fails to declare if_nametoindex as extern "C". Added a declaration
for it with correct linkage to avoid a linker error.


[SVN r40549]
2007-10-29 13:08:32 +00:00
Christopher Kohlhoff
d306f9dafe Use GetModuleHandleA rather than GetModuleHandle to avoid being broken by
UNICODE #defines.


[SVN r40548]
2007-10-29 13:07:08 +00:00
Christopher Kohlhoff
3787272722 Ensure the task handler is put back on the queue after polling.
[SVN r40547]
2007-10-29 13:06:39 +00:00
Christopher Kohlhoff
644ed0fa71 Mac OS X 10.5 (Leopard) gives a compile error if you try to perform an
operation on a const fd_set pointer.


[SVN r40546]
2007-10-29 13:06:12 +00:00
Christopher Kohlhoff
72198ee954 Fixes for HP-UX test failures.
[SVN r40413]
2007-10-24 13:23:59 +00:00
Christopher Kohlhoff
9f319db484 Clean up documentation.
[SVN r40356]
2007-10-23 13:31:12 +00:00
Christopher Kohlhoff
cca0c50ca1 Documentation fixes.
[SVN r40345]
2007-10-23 08:09:46 +00:00
Christopher Kohlhoff
4915994d7c Only use pselect() when compiling with aCC.
[SVN r40344]
2007-10-23 08:09:21 +00:00
Christopher Kohlhoff
1122c04976 Fix address_v6::operator<.
[SVN r40263]
2007-10-21 08:13:21 +00:00
Christopher Kohlhoff
34a91ea73c Seems that the watermark socket options are supported on HP-UX 11i v3.
[SVN r40262]
2007-10-21 07:59:53 +00:00
Christopher Kohlhoff
46191ad216 Use an unsigned char for the enable_loopback socket option on HP-UX.
[SVN r40261]
2007-10-21 07:30:04 +00:00
Christopher Kohlhoff
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.


[SVN r40259]
2007-10-21 07:09:19 +00:00
Christopher Kohlhoff
a694fc7ba7 Documentation fixes.
[SVN r40256]
2007-10-21 05:46:47 +00:00
Christopher Kohlhoff
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.


[SVN r40255]
2007-10-21 05:46:15 +00:00
Christopher Kohlhoff
9f6bab9893 Ensure the buffers and completion condition objects are destroyed before
the completion handler is invoked.


[SVN r40241]
2007-10-21 01:48:03 +00:00
Christopher Kohlhoff
811d967f52 Add get_io_service() synonym for io_service() to match TR2 proposal.
[SVN r40176]
2007-10-19 08:09:55 +00:00
Christopher Kohlhoff
b4384805aa Assume that Tru64 also needs SIGPIPE to be blocked.
[SVN r40149]
2007-10-18 08:34:03 +00:00
Christopher Kohlhoff
14d49a688a Add dummy enum for ssl errors. Change to static const references to error
category objects to be consistent with boost.system.


[SVN r40119]
2007-10-17 14:04:42 +00:00
Christopher Kohlhoff
4010cfe9de Add define to disable /dev/poll support.
[SVN r40109]
2007-10-17 08:20:30 +00:00
Christopher Kohlhoff
5af39ab4ef Make Windows XP the default target Windows version as the latest Windows
SDK doesn't support IPv6 for Windows 2000 targets.


[SVN r40108]
2007-10-17 07:58:38 +00:00
Christopher Kohlhoff
bd35039449 Throw an exception if unable to create a pipe for the pipe_select_interrupter.
[SVN r40107]
2007-10-17 07:25:03 +00:00
Christopher Kohlhoff
87cfb10267 Borland C++ wants friendship for the task_cleanup nested class.
[SVN r40106]
2007-10-17 05:22:26 +00:00
Christopher Kohlhoff
2865a15b93 Revert HP-UX/aCC change to select() wrapper as it breaks more than it fixes.
[SVN r40104]
2007-10-17 04:44:38 +00:00
Christopher Kohlhoff
9fc86e1351 Add a /dev/poll reactor implementation for Solaris.
[SVN r39913]
2007-10-10 23:12:06 +00:00
Christopher Kohlhoff
36edaaf006 Try changing the default target to Windows XP rather than Windows 2000 to see
effect on borland-5.9.2.


[SVN r39865]
2007-10-09 21:59:38 +00:00
Christopher Kohlhoff
96a6faa937 HP-UX with aCC uses a variant of select() that takes int* arguments rather
than fd_set*.


[SVN r39864]
2007-10-09 21:47:40 +00:00
Christopher Kohlhoff
4fa7155b45 Assume that HP-UX and AIX both need to have SIGPIPE blocked.
[SVN r39863]
2007-10-09 21:47:07 +00:00
Christopher Kohlhoff
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.


[SVN r39752]
2007-10-07 00:11:25 +00:00
Christopher Kohlhoff
27ad77577b Try using an unsigned char for the multicast::enable_loopback socket option
when compiling for Tru64.


[SVN r39665]
2007-10-03 01:43:08 +00:00
Christopher Kohlhoff
e52d0569e1 Add missing #include needed for MinGW.
[SVN r39664]
2007-10-03 01:40:55 +00:00
Christopher Kohlhoff
7825a45960 Add missing "lib ipv6 ;" that's needed for HP-UX.
[SVN r39517]
2007-09-25 01:56:46 +00:00