Christopher Kohlhoff
28ab37a23e
Merge from trunk:
...
* Update copyright notice.
* Version bump.
* Fix out-of-bounds address_v4::broadcast() return value on 64-bit systems.
* Use correct interrupt method when timerfd is not available. Fixes #5045
[SVN r68200]
2011-01-17 04:28:16 +00:00
Christopher Kohlhoff
760f58b6ca
Merged from trunk.
...
........
r63568 | chris_kohlhoff | 2010-07-04 16:49:18 +1000 (Sun, 04 Jul 2010) | 2 lines
Fix coroutine macros to work with MSVC's edit-and-continue debug settings.
........
r63569 | chris_kohlhoff | 2010-07-04 16:53:57 +1000 (Sun, 04 Jul 2010) | 2 lines
Reworked timeout examples.
........
r63570 | chris_kohlhoff | 2010-07-04 16:57:32 +1000 (Sun, 04 Jul 2010) | 2 lines
Ensure arguments to handlers are passed as const types.
........
r63571 | chris_kohlhoff | 2010-07-04 17:19:30 +1000 (Sun, 04 Jul 2010) | 2 lines
Fences for arm.
........
r63572 | chris_kohlhoff | 2010-07-04 17:20:18 +1000 (Sun, 04 Jul 2010) | 2 lines
Fences for arm.
........
r63573 | chris_kohlhoff | 2010-07-04 17:21:24 +1000 (Sun, 04 Jul 2010) | 2 lines
Fix forward declaration.
........
r63574 | chris_kohlhoff | 2010-07-04 17:23:27 +1000 (Sun, 04 Jul 2010) | 2 lines
Add cancellation of reactor operations.
........
r63575 | chris_kohlhoff | 2010-07-04 17:26:36 +1000 (Sun, 04 Jul 2010) | 2 lines
Fixes in non_blocking_read.
........
r63576 | chris_kohlhoff | 2010-07-04 17:28:20 +1000 (Sun, 04 Jul 2010) | 2 lines
Make more tolerant of different platform sdk variants.
........
r63577 | chris_kohlhoff | 2010-07-04 17:37:42 +1000 (Sun, 04 Jul 2010) | 2 lines
Eliminate unnecessary uses of hash_map.
........
r63578 | chris_kohlhoff | 2010-07-04 17:43:23 +1000 (Sun, 04 Jul 2010) | 2 lines
Point docs at new timeout examples.
........
r63592 | chris_kohlhoff | 2010-07-04 23:11:14 +1000 (Sun, 04 Jul 2010) | 2 lines
Add missing operator+ overload. Fixes #4382 .
........
r63594 | chris_kohlhoff | 2010-07-04 23:42:41 +1000 (Sun, 04 Jul 2010) | 2 lines
Fix unused parameters.
........
r63646 | chris_kohlhoff | 2010-07-05 17:43:22 +1000 (Mon, 05 Jul 2010) | 2 lines
Add missing parameter.
........
[SVN r63682]
2010-07-06 04:49:47 +00:00
Christopher Kohlhoff
a70528c9be
Merge from trunk.
...
........
r62497 | chris_kohlhoff | 2010-06-07 09:28:58 +1000 (Mon, 07 Jun 2010) | 2 lines
Fix handling of small but non-zero timeouts. Fixes #4205 .
........
r62499 | chris_kohlhoff | 2010-06-07 10:00:45 +1000 (Mon, 07 Jun 2010) | 2 lines
Reworked implementation MkII.
Also fixes #4170 .
........
r62530 | chris_kohlhoff | 2010-06-08 09:24:28 +1000 (Tue, 08 Jun 2010) | 2 lines
Fixes for MSVC 7.1, Borland.
........
r62531 | chris_kohlhoff | 2010-06-08 09:29:05 +1000 (Tue, 08 Jun 2010) | 2 lines
Some changes for Symbian support.
........
r62549 | chris_kohlhoff | 2010-06-08 14:27:26 +1000 (Tue, 08 Jun 2010) | 2 lines
Fix typo in tutorial. Fixes #4252 .
........
r62556 | chris_kohlhoff | 2010-06-08 19:01:39 +1000 (Tue, 08 Jun 2010) | 2 lines
Ensure unsigned char is used with isdigit. Fixes #4201 .
........
r62558 | chris_kohlhoff | 2010-06-08 21:01:57 +1000 (Tue, 08 Jun 2010) | 2 lines
Fix handling of empty buffer sequences.
........
[SVN r62644]
2010-06-09 09:40:46 +00:00
Christopher Kohlhoff
0f5629d445
Reworked implementation MkII
...
[SVN r62499]
2010-06-07 00:00:45 +00:00
Christopher Kohlhoff
de9a23e228
Add note to examples on how to limit asio::streambuf growth. Fixes #3370 .
...
[SVN r60686]
2010-03-18 02:21:32 +00:00
Christopher Kohlhoff
3f3c9aefa1
Add note to examples on how to limit asio::streambuf growth.
...
[SVN r60685]
2010-03-18 02:15:23 +00:00
Christopher Kohlhoff
b94132b6b9
Merge doc and example changes from trunk.
...
........
r58900 | chris_kohlhoff | 2010-01-11 23:22:33 +1100 (Mon, 11 Jan 2010) | 2 lines
Add HTTP Server 4 example.
........
r59103 | chris_kohlhoff | 2010-01-18 08:42:36 +1100 (Mon, 18 Jan 2010) | 2 lines
Add coroutine::is_complete() and support for "yield break;".
........
r59104 | chris_kohlhoff | 2010-01-18 08:48:17 +1100 (Mon, 18 Jan 2010) | 2 lines
Document ordering of handlers in strands. Fix error in streambuf snippet.
........
r59106 | chris_kohlhoff | 2010-01-18 09:21:21 +1100 (Mon, 18 Jan 2010) | 2 lines
Update revision history.
........
[SVN r59110]
2010-01-18 02:35:32 +00:00
Christopher Kohlhoff
a7710aa4ec
Add coroutine::is_complete() and support for "yield break;".
...
[SVN r59103]
2010-01-17 21:42:36 +00:00
Christopher Kohlhoff
5462e44fd2
Add HTTP Server 4 example.
...
[SVN r58900]
2010-01-11 12:22:33 +00:00
Christopher Kohlhoff
c2c1f2a507
Merge from trunk. Fixes #3743 , #3670 , #3822 .
...
........
r58670 | chris_kohlhoff | 2010-01-04 23:33:04 +1100 (Mon, 04 Jan 2010) | 2 lines
Fix example to compile with MSVC 10 beta 2.
........
r58671 | chris_kohlhoff | 2010-01-04 23:33:42 +1100 (Mon, 04 Jan 2010) | 2 lines
Fix Win64 warnings.
........
r58703 | chris_kohlhoff | 2010-01-05 22:51:41 +1100 (Tue, 05 Jan 2010) | 3 lines
Include boost/limits.hpp rather than <limits>, to support older compilers.
Refs #3743 .
........
r58704 | chris_kohlhoff | 2010-01-05 23:20:10 +1100 (Tue, 05 Jan 2010) | 2 lines
Drop back to second_clock if microsec_clock is unavailable. Refs #3743 .
........
r58705 | chris_kohlhoff | 2010-01-05 23:50:39 +1100 (Tue, 05 Jan 2010) | 2 lines
Use sockatmark if SIOCATMARK is not defined. Refs #3743 .
........
r58740 | chris_kohlhoff | 2010-01-06 13:38:39 +1100 (Wed, 06 Jan 2010) | 2 lines
Use buffer debugging workaround with MSVC 8 only.
........
r58761 | chris_kohlhoff | 2010-01-06 23:27:05 +1100 (Wed, 06 Jan 2010) | 2 lines
Disable iostreams-related functionality if BOOST_NO_IOSTREAMS is defined. Refs #3743 .
........
r58762 | chris_kohlhoff | 2010-01-06 23:36:51 +1100 (Wed, 06 Jan 2010) | 2 lines
Apply fix for reported excessive CPU usage under Solaris. Refs #3670 .
........
r58782 | chris_kohlhoff | 2010-01-07 09:44:48 +1100 (Thu, 07 Jan 2010) | 2 lines
Disable handler allocation and invocation hooks on g++ 2.x. Refs #3743 .
........
r58793 | chris_kohlhoff | 2010-01-08 09:18:16 +1100 (Fri, 08 Jan 2010) | 2 lines
Support platforms that don't define INET6_ADDRSTRLEN. Refs #3743 .
........
[SVN r58883]
2010-01-11 02:34:00 +00:00
Christopher Kohlhoff
f6df78b3dc
Fix example to compile with MSVC 10 beta 2.
...
[SVN r58670]
2010-01-04 12:33:04 +00:00
Christopher Kohlhoff
e97ac69ad8
Merge from trunk.
...
........
r57393 | hkaiser | 2009-11-05 11:26:15 +1100 (Thu, 05 Nov 2009) | 1 line
Asio: disabled VC workaround for VC2010 beta2 compiler. Fixes #3796 .
........
r58621 | chris_kohlhoff | 2010-01-02 10:04:35 +1100 (Sat, 02 Jan 2010) | 2 lines
Wrap long line.
........
r58624 | chris_kohlhoff | 2010-01-02 17:09:02 +1100 (Sat, 02 Jan 2010) | 3 lines
Windows needs the OVERLAPPED structure to be valid until both the initiating
function call has returned and the completion packet has been delivered.
........
r58625 | chris_kohlhoff | 2010-01-02 18:16:41 +1100 (Sat, 02 Jan 2010) | 2 lines
Use specific type_traits headers.
........
r58626 | chris_kohlhoff | 2010-01-02 18:18:09 +1100 (Sat, 02 Jan 2010) | 2 lines
Include specific headers in unit tests rather than the convenience header asio.hpp.
........
r58627 | chris_kohlhoff | 2010-01-02 19:24:12 +1100 (Sat, 02 Jan 2010) | 3 lines
Use boost::addressof to get the address of handler objects, rather than
applying operator& directly. Fixes #2977 .
........
r58628 | chris_kohlhoff | 2010-01-02 20:48:01 +1100 (Sat, 02 Jan 2010) | 3 lines
Don't block signals while performing system calls, but instead restart the
calls if they are interrupted.
........
r58629 | chris_kohlhoff | 2010-01-02 21:20:12 +1100 (Sat, 02 Jan 2010) | 2 lines
Ensure that kqueue support is enabled for BSD platforms. Fixes #3626 .
........
r58630 | chris_kohlhoff | 2010-01-02 21:30:41 +1100 (Sat, 02 Jan 2010) | 2 lines
Add boost_ prefix to extern "C" thread entry point function. Fixes #3809 .
........
r58647 | chris_kohlhoff | 2010-01-03 07:36:59 +1100 (Sun, 03 Jan 2010) | 2 lines
Use a pool of strand implementations to make copying of strands cheaper.
........
r58650 | chris_kohlhoff | 2010-01-03 08:35:33 +1100 (Sun, 03 Jan 2010) | 4 lines
In getaddrinfo emulation, only check the socket type (SOCK_STREAM or SOCK_DGRAM)
if a service name has been specified. This should allow the emulation to work
with raw sockets.
........
r58651 | chris_kohlhoff | 2010-01-03 08:37:10 +1100 (Sun, 03 Jan 2010) | 3 lines
Add a workaround for some broken Windows firewalls that make a socket
appear bound to 0.0.0.0 when it is in fact bound to 127.0.0.1.
........
r58652 | chris_kohlhoff | 2010-01-03 08:38:44 +1100 (Sun, 03 Jan 2010) | 2 lines
Only include implementation headers required for each platform.
........
[SVN r58669]
2010-01-04 11:55:09 +00:00
Christopher Kohlhoff
df91035ff5
Update copyright notices.
...
[SVN r58666]
2010-01-04 09:36:00 +00:00
Christopher Kohlhoff
45acb2f756
Use boost::addressof to get the address of handler objects, rather than
...
applying operator& directly. Refs #2977 .
[SVN r58627]
2010-01-02 08:24:12 +00:00
Christopher Kohlhoff
20a822c591
Update copyright notices.
...
[SVN r58623]
2010-01-02 01:24:52 +00:00
Christopher Kohlhoff
13322b3c3b
Add ping example.
...
[SVN r54767]
2009-07-07 12:37:15 +00:00
Christopher Kohlhoff
fd411319a4
Fix various g++ warnings. Ref #1341 .
...
[SVN r54393]
2009-06-27 07:07:40 +00:00
Christopher Kohlhoff
0d70590780
Add missing #include <iostream>.
...
[SVN r51006]
2009-02-04 06:46:58 +00:00
Christopher Kohlhoff
0b5c6d9a2b
Add a new POSIX-specific chat client showing how to use the
...
posix::stream_descriptor class.
[SVN r49483]
2008-10-29 12:50:58 +00:00
Christopher Kohlhoff
6e64678759
Add example showing use of local::stream_protocol::iostream.
...
[SVN r49200]
2008-10-09 06:32:00 +00:00
Christopher Kohlhoff
8726d4169c
Fix error in comment.
...
[SVN r48526]
2008-09-01 23:07:29 +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
4a357c7fa3
Add more UNIX domain socket examples.
...
[SVN r47261]
2008-07-09 12:00:56 +00:00
Christopher Kohlhoff
aa76939ff4
Add example showing how to use UNIX domain sockets with connect_pair().
...
[SVN r47249]
2008-07-08 22:54:38 +00:00
Christopher Kohlhoff
3102715354
Add missing copyright notices.
...
[SVN r46766]
2008-06-27 05:38:16 +00:00
Christopher Kohlhoff
888b36fa55
Add porthopper example to demonstrate applications that mix synchronous and
...
asynchronous operations.
[SVN r44678]
2008-04-21 05:43:42 +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
17ef45244b
Enhance example to make it clear that invocation hooking can be used with
...
asynchronous operations.
[SVN r44665]
2008-04-21 01:36:28 +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
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
2e343266ab
Fix concept name in comment.
...
[SVN r42750]
2008-01-14 13:13:35 +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
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
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
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
9f53a075ff
Define _WIN32_WINNT to suppress warnings. Add define necessary
...
for building with cygwin.
[SVN r39100]
2007-09-01 07:32:28 +00:00
Christopher Kohlhoff
ff67d39c15
Ignore errors from shutdown().
...
[SVN r39093]
2007-09-01 06:13:02 +00:00
Vladimir Prus
00be9349dc
Revive V1 Jamfiles at Christopher's request
...
[SVN r38822]
2007-08-21 13:55:41 +00:00
Christopher Kohlhoff
0a83dd0dc5
Clean up gcc warnings.
...
[SVN r38790]
2007-08-20 14:21:47 +00:00
Christopher Kohlhoff
a1971d2123
Use shutdown() for portable graceful connection closure.
...
[SVN r38789]
2007-08-20 14:19:49 +00:00
Christopher Kohlhoff
b1b7505e4d
Fix inspect errors.
...
[SVN r38781]
2007-08-20 13:48:38 +00:00
Vladimir Prus
fb46c8923e
Remove V1 Jamfiles
...
[SVN r38516]
2007-08-08 19:02:26 +00:00
Christopher Kohlhoff
0e60b07b4f
Add handling for URL-escaping of spaces as plus signs. Remove unnecessary
...
slash from request path.
[SVN r38054]
2007-06-21 23:39:22 +00:00
Christopher Kohlhoff
1248ab625c
Try to fix Borland C++ compile errors.
...
[SVN r37722]
2007-05-20 03:50:23 +00:00
Christopher Kohlhoff
44af0244a6
Fix URL-decoding.
...
[SVN r37721]
2007-05-20 02:52:00 +00:00
Christopher Kohlhoff
47e59d1958
Add example illustrating a custom handler invocation hook.
...
[SVN r37630]
2007-05-08 13:02:39 +00:00