Christopher Kohlhoff
abaadc5436
Use cancel() to avoid Windows behaviour where a connection is reset if the
...
socket is closed while there is a pending read operation.
[SVN r60725]
2010-03-19 23:59:48 +00:00
Christopher Kohlhoff
b80ddc1935
More extensive read and write tests.
...
[SVN r60717]
2010-03-19 23:23:28 +00:00
Christopher Kohlhoff
4ab0d73c10
Fix epoll_reactor bug where cancelled operations would complete with a
...
"success" error_code.
[SVN r60705]
2010-03-19 13:08:04 +00:00
Christopher Kohlhoff
1683a90e86
Fix bug where 0-byte reads were incorrectly passing an eof error_code to the handler. Refs #4023 .
...
[SVN r60689]
2010-03-18 11:08:19 +00:00
Christopher Kohlhoff
a53c811edb
Drop back to second_clock if microsec_clock is unavailable. Refs #3743 .
...
[SVN r58704]
2010-01-05 12:20:10 +00:00
Christopher Kohlhoff
235e35039d
Include specific headers in unit tests rather than the convenience header asio.hpp.
...
[SVN r58626]
2010-01-02 07:18:09 +00:00
Christopher Kohlhoff
20a822c591
Update copyright notices.
...
[SVN r58623]
2010-01-02 01:24:52 +00:00
Troy D. Straszheim
da33675b44
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
320ddd3c12
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Christopher Kohlhoff
fd411319a4
Fix various g++ warnings. Ref #1341 .
...
[SVN r54393]
2009-06-27 07:07:40 +00:00
Christopher Kohlhoff
f36045ab00
Fix custom memory allocation for timers. Ref #3107 .
...
[SVN r54392]
2009-06-27 05:24:16 +00:00
Christopher Kohlhoff
2e4474765b
Fix failures reported when the tests are built with _GLIBCXX_DEBUG. Ref #3098 .
...
[SVN r54390]
2009-06-27 02:17:49 +00:00
Christopher Kohlhoff
486c8e7931
Fix bug in hash resize. Ref #3095 .
...
[SVN r54376]
2009-06-26 13:35:04 +00:00
Christopher Kohlhoff
0218c0b06b
Fix implementation of io_control() so that it adheres to the type
...
requirements for IoControlCommand. Fixes #2820 .
[SVN r52294]
2009-04-09 12:16:02 +00:00
Christopher Kohlhoff
e5a0230dbc
Need to specify socket lib to link correctly on QNX. Fixes #2504 .
...
[SVN r50943]
2009-02-01 11:37:18 +00:00
Michael A. Jackson
02ac45ba96
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Christopher Kohlhoff
96fcff70f2
Fix problem in read_until's match_condition handling when the delimiter
...
lies at the end of the data.
[SVN r49482]
2008-10-29 12:49:05 +00:00
Christopher Kohlhoff
aea347d0a7
Add const overloads of the lowest_layer member functions.
...
[SVN r48535]
2008-09-02 11:34:18 +00:00
Christopher Kohlhoff
4696ee9033
Add class to allow use of arbitrary Windows overlapped I/O operations.
...
[SVN r48495]
2008-08-31 11:38:52 +00:00
Christopher Kohlhoff
2f86d9c815
Don't build serial port test code when serial ports are not available.
...
[SVN r48490]
2008-08-31 08:58:49 +00:00
Christopher Kohlhoff
bb6bfd4b5a
Change the CompletionCondition concept so that:
...
- It is now evaluated before the first call to the underlying
*_some() operation, as well as after every operation.
- The return value is a number of bytes, which indicates the maximum
length to be transferred on the subsequent *_some() operation. If
the return value is 0 then the composed operation completes.
Add missing unit tests for read_at and write_at.
[SVN r48418]
2008-08-28 12:11:47 +00:00
Christopher Kohlhoff
de4cfeb523
Use get_io_service() rather than deprecated io_service() function.
...
[SVN r48417]
2008-08-28 12:09:09 +00:00
Christopher Kohlhoff
10e8419c7e
Some linux configurations do not automatically define _XOPEN_SOURCE.
...
[SVN r46876]
2008-06-30 00:24:44 +00:00
Christopher Kohlhoff
43e62310b6
Add new overloads for read_until and async_read_until that invoke a
...
user-defined function object to determine when a match has been found.
[SVN r46475]
2008-06-18 13:03:46 +00:00
Christopher Kohlhoff
1539f2c8a1
Add an iterator for bytewise traversal of a buffer sequence.
...
[SVN r46415]
2008-06-16 00:41:29 +00:00
Christopher Kohlhoff
fa82af9e16
Add random-access handles for use on Windows.
...
[SVN r46319]
2008-06-11 11:17:53 +00:00
Christopher Kohlhoff
7e062f298d
Add support for serial ports.
...
[SVN r46272]
2008-06-09 12:54:55 +00:00
Christopher Kohlhoff
b466d42996
Add test for the crash that can occur when destroying a handler object that
...
owns its own memory (as is the case when destroying handlers in an orphaned
strand).
[SVN r46003]
2008-06-01 01:31:25 +00:00
Christopher Kohlhoff
528e09e9f6
Fully qualify uses of asio's placeholders to resolve ambiguity with C++0x's
...
placeholders namespace.
[SVN r45006]
2008-05-02 07:59:01 +00:00
Christopher Kohlhoff
8768d9dff1
Fix or suppress MSVC level 4 warnings. Fixes #1703 .
...
[SVN r44727]
2008-04-22 23:46:15 +00:00
Christopher Kohlhoff
ee449aa163
Add new wrapper classes for stream-oriented handles on Windows.
...
[SVN r44676]
2008-04-21 05:32:34 +00:00
Christopher Kohlhoff
1ef42e04c6
Add new wrapper classes for stream-oriented file descriptors on POSIX platforms.
...
[SVN r44675]
2008-04-21 05:16:15 +00:00
Christopher Kohlhoff
f784e54ced
Add support for UNIX domain sockets.
...
[SVN r44674]
2008-04-21 04:43:05 +00:00
Christopher Kohlhoff
a277af13a5
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.
[SVN r44673]
2008-04-21 04:02:37 +00:00
Christopher Kohlhoff
02e47999fa
Update copyright notices.
...
[SVN r43473]
2008-03-03 14:13:01 +00:00
Christopher Kohlhoff
f99a3cb814
Update copyright notices.
...
[SVN r43472]
2008-03-03 14:05:35 +00:00
Christopher Kohlhoff
ff29c1bcfb
Only define _XOPEN_SOURCE_EXTENDED when building with gcc on HP-UX.
...
[SVN r43302]
2008-02-18 13:33:23 +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
09665bffa4
Ensure asio header comes before boost.thread header.
...
[SVN r41870]
2007-12-08 14:03:40 +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
Christopher Kohlhoff
33dfeb1789
Add checks for expected failures on Windows CE.
...
[SVN r40783]
2007-11-05 12:38:39 +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
72198ee954
Fixes for HP-UX test failures.
...
[SVN r40413]
2007-10-24 13:23:59 +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
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
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
7825a45960
Add missing "lib ipv6 ;" that's needed for HP-UX.
...
[SVN r39517]
2007-09-25 01:56:46 +00:00
Christopher Kohlhoff
0987067acc
Add extra library 'ipv6' needed on HP-UX.
...
[SVN r39509]
2007-09-24 13:32:47 +00:00
Christopher Kohlhoff
2cd240ee88
Output error codes and error messages when a test fails.
...
[SVN r39505]
2007-09-24 13:21:49 +00:00