Christopher Kohlhoff
99d7275adc
Ensure the operation is stopped on error.
2011-03-15 08:58:42 +11:00
Christopher Kohlhoff
1689418743
Refactor the new SSL implementation.
2011-03-15 01:13:38 +11:00
Christopher Kohlhoff
ae3be044f8
Disable std::error_code support on g++ 4.5, as that compiler doesn't
...
handle std::system_error::what() correctly.
2011-03-14 10:57:07 +11:00
Christopher Kohlhoff
bc0b24331b
Regenerate docs. Remove links to old SSL classes.
2011-03-14 10:20:39 +11:00
Christopher Kohlhoff
bc914e1167
Fix typo in comment.
2011-03-14 10:14:37 +11:00
Christopher Kohlhoff
831f9a5ea9
Make ssl::stream noncopyable.
2011-03-14 10:11:57 +11:00
Christopher Kohlhoff
7638648197
Update list of header files.
2011-03-13 23:43:48 +11:00
Christopher Kohlhoff
70e93c3e24
New SSL implementation.
2011-03-13 21:48:57 +11:00
Christopher Kohlhoff
3f06a8c38d
Move existing SSL implementation into an "old" namespace.
2011-03-12 16:56:15 +11:00
Christopher Kohlhoff
4f1b803068
asio version 1.5.2 released
2011-03-08 15:03:06 +11:00
Christopher Kohlhoff
575e128be5
Merge branch 'master' of github.com:chriskohlhoff/asio
2011-03-08 11:56:07 +11:00
Christopher Kohlhoff
78a8770ee7
Use boost's new location for bjam.
2011-03-08 11:04:56 +11:00
Christopher Kohlhoff
533df14b6e
Reorder function definitions.
2011-03-08 01:50:01 +11:00
Christopher Kohlhoff
ce5600b5d3
Add move support to dev_poll_reactor.
2011-03-08 01:50:00 +11:00
Christopher Kohlhoff
1b27f8a545
Document a stronger guarantee for the state of post-move objects.
2011-03-07 20:31:48 +11:00
Christopher Kohlhoff
9515e6b119
Update revision history.
2011-03-07 17:56:30 +11:00
Christopher Kohlhoff
15ab7d426f
Add missing second call to close.
2011-03-07 17:38:15 +11:00
Christopher Kohlhoff
8c08565906
Sockets and handles are always closed even if the system call fails.
2011-03-07 15:44:28 +11:00
Christopher Kohlhoff
12a2aa34a2
Update type requirements to reflect support for movability.
2011-03-07 14:58:19 +11:00
Christopher Kohlhoff
2a1735b78d
Regenerate documentation.
2011-03-07 14:27:30 +11:00
Christopher Kohlhoff
8da0ee9861
Document that I/O objects are noncopyable but may be movable.
2011-03-07 14:15:17 +11:00
Christopher Kohlhoff
fb012581a1
Fix serial port build on windows.
2011-03-07 12:50:39 +11:00
Christopher Kohlhoff
1853e0eab3
Add move support to serial ports.
2011-03-07 12:49:00 +11:00
Christopher Kohlhoff
7bbf2ded95
Sockets have some protocol-specific data that also needs moving.
2011-03-07 12:32:30 +11:00
Christopher Kohlhoff
b8eabb3e98
Add move support for windows handles.
2011-03-07 12:24:52 +11:00
Christopher Kohlhoff
1df0c5c6ad
Implement move support for sockets on Windows.
2011-03-07 11:52:15 +11:00
Christopher Kohlhoff
8bdccf064c
Combine test for move support with provision of ASIO_MOVE_CAST macro.
2011-03-07 09:56:00 +11:00
Christopher Kohlhoff
928d38a2ac
Add move support to kqueue_reactor.
2011-03-07 00:14:05 +11:00
Christopher Kohlhoff
36cf06a953
Implement move support for sockets with the reactor-based backend.
2011-03-06 23:52:09 +11:00
Christopher Kohlhoff
825b8b08cf
Fix up comments.
2011-03-06 20:54:25 +11:00
Christopher Kohlhoff
402f9dc5f1
Fix copy/paste error in comment.
2011-03-06 20:23:51 +11:00
Christopher Kohlhoff
809d00d92a
Add move support to the select_reactor.
2011-03-06 19:27:02 +11:00
Christopher Kohlhoff
d5b1a7308f
Initial implementation of move support for posix descriptors.
2011-03-06 10:03:20 +11:00
Christopher Kohlhoff
f52dddfd5c
Don't use SIGRTMAX, as it is not required to be a compile-time constant.
2011-03-03 15:52:09 +11:00
Christopher Kohlhoff
8cd35681d7
Add fork examples to documentation.
2011-03-02 17:53:14 +11:00
Christopher Kohlhoff
252ad2eac9
Add archetypes for testing socket option functions.
2011-03-02 17:45:09 +11:00
Christopher Kohlhoff
95925ec290
Implement fork support on Solaris.
2011-03-02 07:14:24 +11:00
Christopher Kohlhoff
67adb8d63f
Add a new example showing forking from inside a completion handler.
2011-02-28 11:02:44 +11:00
Christopher Kohlhoff
8790b7e30a
Fix long line.
2011-02-28 11:02:10 +11:00
Christopher Kohlhoff
5c758bb025
Clean up the handling of errors reported by the close() system call. In
...
particular, assume that most operating systems won't have close() fail
with EWOULDBLOCK, but if it does then set blocking mode and restart the
call. If any other error occurs we assume the descriptor is closed.
2011-02-28 10:52:17 +11:00
Christopher Kohlhoff
a75fc27d25
Document that it is safe to call notify_fork() within a handler.
2011-02-28 09:36:41 +11:00
Christopher Kohlhoff
abec92780b
Don't build the fork example on Windows.
2011-02-27 18:11:03 +11:00
Christopher Kohlhoff
61e09176ec
Add a daemon example to illustrate fork support.
2011-02-27 16:54:37 +11:00
Christopher Kohlhoff
e6122c628f
Include function name in exception what() messages.
2011-02-27 16:39:37 +11:00
Christopher Kohlhoff
1d8b071714
Fix insufficient initialisers warning with MinGW.
2011-02-27 09:29:27 +11:00
Christopher Kohlhoff
2517b79311
Add missing lock in signal_set_service::cancel().
2011-02-27 09:18:46 +11:00
Christopher Kohlhoff
0e45b5cd32
Make the shutdown_service() member functions private.
2011-02-26 09:26:48 +11:00
Christopher Kohlhoff
327671da32
Fix long line.
2011-02-25 23:28:59 +11:00
Christopher Kohlhoff
f819e312cf
Implement fork support for kqueue-based platforms.
2011-02-25 23:26:27 +11:00
Christopher Kohlhoff
ad7febe9d7
Initial implementation of fork support.
2011-02-25 21:29:32 +11:00