Commit Graph

1359 Commits

Author SHA1 Message Date
Christopher Kohlhoff
1a1f24c49f Fix printing of error messages.
[SVN r43301]
2008-02-18 13:31:26 +00:00
Christopher Kohlhoff
86dc84f36d Need to define _XOPEN_SOURCE_EXTENDED when compiling for HP-UX.
[SVN r43221]
2008-02-11 13:59:44 +00:00
Christopher Kohlhoff
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.


[SVN r43056]
2008-02-02 12:02:23 +00:00
Christopher Kohlhoff
57f75e9a24 Fix "possible loss of data" warning when building for Windows 2000 targets.
[SVN r43055]
2008-02-02 11:39:17 +00:00
Christopher Kohlhoff
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.


[SVN r43054]
2008-02-02 11:37:45 +00:00
Christopher Kohlhoff
0b26077356 Set the openssl callback function for getting a thread ID.
[SVN r42817]
2008-01-16 13:46:01 +00:00
Christopher Kohlhoff
1f215cd262 Check for truncation when converting buffer size from size_t to openssl's
int argument.

Try to fix possible thread-safety issues in SSL wrapper.


[SVN r42759]
2008-01-14 13:29:08 +00:00
Christopher Kohlhoff
0841027789 Silence some integer truncation warnings.
Only perform the windows-bug workaround where we use a short timeout with
GetQueuedCompletionStatus from one thread, i.e. the timer thread.

Keep track of the number of OVERLAPPED-derived operations to ensure that
they all get cleaned up when the io_service is destroyed.


[SVN r42758]
2008-01-14 13:27:52 +00:00
Christopher Kohlhoff
95e7a5a83f Silence some integer truncation warnings.
[SVN r42756]
2008-01-14 13:25:24 +00:00
Christopher Kohlhoff
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.


[SVN r42755]
2008-01-14 13:24:28 +00:00
Christopher Kohlhoff
66e7e8235b Disable noisy and incorrect /Wp64 warnings generated by MSVC.
[SVN r42754]
2008-01-14 13:22:21 +00:00
Christopher Kohlhoff
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.


[SVN r42753]
2008-01-14 13:21:37 +00:00
Christopher Kohlhoff
e73e772d7f Add missing broken pipe error.
[SVN r42752]
2008-01-14 13:20:06 +00:00
Christopher Kohlhoff
2e343266ab Fix concept name in comment.
[SVN r42750]
2008-01-14 13:13:35 +00:00
Christopher Kohlhoff
30db47b9f8 Documentation fixes.
[SVN r42121]
2007-12-17 13:17:46 +00:00
Christopher Kohlhoff
197952d66b Bump version number.
[SVN r42120]
2007-12-17 13:08:10 +00:00
Christopher Kohlhoff
808e0862ba Fixes for older HP-UX.
[SVN r42119]
2007-12-17 13:04:30 +00:00
Christopher Kohlhoff
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

........
  r41701 | chris_kohlhoff | 2007-12-05 08:28:42 +1100 (Wed, 05 Dec 2007) | 2 lines
  
  Prevent deprecated function warnings for MSVC >= 8.
........
  r41762 | chris_kohlhoff | 2007-12-06 08:46:19 +1100 (Thu, 06 Dec 2007) | 2 lines
  
  Don't use deprecated function workaround when compiling for Windows CE.
........
  r41823 | chris_kohlhoff | 2007-12-07 23:53:39 +1100 (Fri, 07 Dec 2007) | 2 lines
  
  Try to fix stall when sending large amounts of data over SSL.
........
  r41845 | chris_kohlhoff | 2007-12-08 11:18:59 +1100 (Sat, 08 Dec 2007) | 2 lines
  
  Documentation fixes.
........
  r41867 | chris_kohlhoff | 2007-12-09 00:00:45 +1100 (Sun, 09 Dec 2007) | 2 lines
  
  Documentation fixes.
........
  r41868 | chris_kohlhoff | 2007-12-09 00:48:52 +1100 (Sun, 09 Dec 2007) | 2 lines
  
  Suppress signed/unsigned warning.
........
  r41870 | chris_kohlhoff | 2007-12-09 01:03:40 +1100 (Sun, 09 Dec 2007) | 2 lines
  
  Ensure asio header comes before boost.thread header.
........


[SVN r42084]
2007-12-15 22:00:19 +00:00
Christopher Kohlhoff
09665bffa4 Ensure asio header comes before boost.thread header.
[SVN r41870]
2007-12-08 14:03:40 +00:00
Christopher Kohlhoff
931e25063d Suppress signed/unsigned warning.
[SVN r41868]
2007-12-08 13:48:52 +00:00
Christopher Kohlhoff
cc9a0bb517 Documentation fixes.
[SVN r41867]
2007-12-08 13:00:45 +00:00
Christopher Kohlhoff
c049e9cb53 Documentation fixes.
[SVN r41845]
2007-12-08 00:18:59 +00:00
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
87374c4f88 Merge revisions 41407, 41432, 41477, 41478 from trunk.
[SVN r41640]
2007-12-03 11:56:15 +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
c46f430670 Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41370]
2007-11-25 18:38:02 +00:00
Beman Dawes
2f3a9792f8 Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41369]
2007-11-25 18:07:19 +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