Commit Graph

1359 Commits

Author SHA1 Message Date
Christopher Kohlhoff
3c0afbd451 Regenerate documentation.
[SVN r60923]
2010-03-29 23:57:25 +00:00
Christopher Kohlhoff
5f141a2fa1 Work around an apparent doxygen bug to show template parameter lists on
inherited member functions.


[SVN r60922]
2010-03-29 23:55:00 +00:00
Christopher Kohlhoff
f1debcc472 Document basic_resolver_query's constructor arguments.
[SVN r60921]
2010-03-29 23:51:15 +00:00
Christopher Kohlhoff
399786e737 Fix unused variable warnings.
[SVN r60883]
2010-03-27 23:04:56 +00:00
Christopher Kohlhoff
7b4fabf4e3 Change the resolver implementation to no longer require the typedefs
InternetProtocol::resolver_query and InternetProtocol::resolver_iterator,
as neither typedef is part of the documented InternetProtocol requirements.

The following typedefs are now marked as deprecated:
- ip::icmp::resolver_query
- ip::icmp::resolver_iterator
- ip::tcp::resolver_query
- ip::tcp::resolver_iterator
- ip::udp::resolver_query
- ip::udp::resolver_iterator


[SVN r60882]
2010-03-27 22:22:59 +00:00
Christopher Kohlhoff
d32559c643 Always call ioctl on underlying descriptor when modifying blocking mode. Refs #3307.
[SVN r60869]
2010-03-27 10:54:44 +00:00
Christopher Kohlhoff
f0c9e12f28 Merge from trunk: Update to reflect reworked implementation.
[SVN r60851]
2010-03-26 02:57:37 +00:00
Christopher Kohlhoff
7efbb6060d Update to reflect reworked implementation.
[SVN r60850]
2010-03-26 02:44:27 +00:00
Christopher Kohlhoff
82c6f8c45e Merge from trunk.
........
  r60743 | chris_kohlhoff | 2010-03-21 21:54:56 +1100 (Sun, 21 Mar 2010) | 2 lines
  
  Fix search/replace error in some resolver_query_base enumerators.
........
  r60745 | chris_kohlhoff | 2010-03-21 23:38:14 +1100 (Sun, 21 Mar 2010) | 2 lines
  
  Enhance reference doc generation to handle new operator types.
........
  r60746 | chris_kohlhoff | 2010-03-21 23:39:15 +1100 (Sun, 21 Mar 2010) | 2 lines
  
  Regenerated documentation.
........
  r60756 | chris_kohlhoff | 2010-03-22 14:32:56 +1100 (Mon, 22 Mar 2010) | 2 lines
  
  Fix cancellation in Windows HANDLE backend.
........
  r60781 | chris_kohlhoff | 2010-03-23 12:39:12 +1100 (Tue, 23 Mar 2010) | 3 lines
  
  Async connect operations using the reactor should not allow speculative
  completion.
........


[SVN r60821]
2010-03-25 01:50:05 +00:00
Christopher Kohlhoff
3c5fe939c9 Async connect operations using the reactor should not allow speculative
completion.


[SVN r60781]
2010-03-23 01:39:12 +00:00
Christopher Kohlhoff
41bcacc9e2 Fix cancellation in Windows HANDLE backend.
[SVN r60756]
2010-03-22 03:32:56 +00:00
Christopher Kohlhoff
ae4f8aa53f Regenerated documentation.
[SVN r60746]
2010-03-21 12:39:15 +00:00
Christopher Kohlhoff
330af11c6b Enhance reference doc generation to handle new operator types.
[SVN r60745]
2010-03-21 12:38:14 +00:00
Christopher Kohlhoff
c980da5515 Fix search/replace error in some resolver_query_base enumerators.
[SVN r60743]
2010-03-21 10:54:56 +00:00
Christopher Kohlhoff
eb1c2b560a Merge from trunk.
........
  r60681 | chris_kohlhoff | 2010-03-18 12:32:34 +1100 (Thu, 18 Mar 2010) | 3 lines
  
  Define NOMINMAX for all Windows compilers, not just Cygwin. Users can define
  BOOST_ASIO_NO_NOMINMAX to suppress this definition. Fixes #3901.
........
  r60687 | chris_kohlhoff | 2010-03-18 17:23:38 +1100 (Thu, 18 Mar 2010) | 4 lines
  
  Use a bitmask type for the resolver flags, as per the TR2 proposal. This will
  prevent implicit conversion from int to flags, allowing the compiler to catch
  cases where users incorrectly pass a numeric port number as the service name.
........
  r60689 | chris_kohlhoff | 2010-03-18 22:08:19 +1100 (Thu, 18 Mar 2010) | 2 lines
  
  Fix bug where 0-byte reads were incorrectly passing an eof error_code to the handler. Fixes #4023.
........
  r60705 | chris_kohlhoff | 2010-03-20 00:08:04 +1100 (Sat, 20 Mar 2010) | 3 lines
  
  Fix epoll_reactor bug where cancelled operations would complete with a
  "success" error_code.
........
  r60717 | chris_kohlhoff | 2010-03-20 10:23:28 +1100 (Sat, 20 Mar 2010) | 2 lines
  
  More extensive read and write tests.
........
  r60722 | chris_kohlhoff | 2010-03-20 10:57:50 +1100 (Sat, 20 Mar 2010) | 2 lines
  
  WinCE doesn't provide InitializeCriticalSectionAndSpinCount.
........
  r60723 | chris_kohlhoff | 2010-03-20 10:58:48 +1100 (Sat, 20 Mar 2010) | 2 lines
  
  Fix cancellation.
........
  r60725 | chris_kohlhoff | 2010-03-20 10:59:48 +1100 (Sat, 20 Mar 2010) | 3 lines
  
  Use cancel() to avoid Windows behaviour where a connection is reset if the
  socket is closed while there is a pending read operation.
........


[SVN r60741]
2010-03-21 09:39:26 +00:00
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
73b7b61c61 Fix cancellation.
[SVN r60723]
2010-03-19 23:58:48 +00:00
Christopher Kohlhoff
e95406e8b9 WinCE doesn't provide InitializeCriticalSectionAndSpinCount.
[SVN r60722]
2010-03-19 23:57:50 +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
96ad484574 Use a bitmask type for the resolver flags, as per the TR2 proposal. This will
prevent implicit conversion from int to flags, allowing the compiler to catch
cases where users incorrectly pass a numeric port number as the service name.


[SVN r60687]
2010-03-18 06:23:38 +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
833f8866a9 Clarify that to_bytes() returns addresses in network byte order. Fixes #4005.
[SVN r60684]
2010-03-18 02:03:15 +00:00
Christopher Kohlhoff
481e0b03d9 Clarify that to_bytes() returns addresses in network byte order. Refs #4005.
[SVN r60683]
2010-03-18 01:54:43 +00:00
Christopher Kohlhoff
8717cac135 Define NOMINMAX for all Windows compilers, not just Cygwin. Users can define
BOOST_ASIO_NO_NOMINMAX to suppress this definition.


[SVN r60681]
2010-03-18 01:32:34 +00:00
Christopher Kohlhoff
866ddc38b7 Merge reworked implementation from trunk.
[SVN r60680]
2010-03-18 00:58:47 +00:00
Christopher Kohlhoff
96ce1bea3f Reworked implementation.
[SVN r60380]
2010-03-09 12:50:07 +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
c5a643df6b Update revision history.
[SVN r59106]
2010-01-17 22:21:21 +00:00
Christopher Kohlhoff
eecd73a23a Document ordering of handlers in strands. Fix error in streambuf snippet.
[SVN r59104]
2010-01-17 21:48:17 +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
3591e39f52 Version bump.
[SVN r58884]
2010-01-11 02:36:53 +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
d6ac7e4a70 Support platforms that don't define INET6_ADDRSTRLEN. Refs #3743.
[SVN r58793]
2010-01-07 22:18:16 +00:00
Christopher Kohlhoff
dd13ae0801 Disable handler allocation and invocation hooks on g++ 2.x. Refs #3743.
[SVN r58782]
2010-01-06 22:44:48 +00:00
Christopher Kohlhoff
23c3bacde4 Apply fix for reported excessive CPU usage under Solaris. Refs #3670.
[SVN r58762]
2010-01-06 12:36:51 +00:00
Christopher Kohlhoff
b031423afe Disable iostreams-related functionality if BOOST_NO_IOSTREAMS is defined. Refs #3743.
[SVN r58761]
2010-01-06 12:27:05 +00:00
Christopher Kohlhoff
ec92795b73 Use buffer debugging workaround with MSVC 8 only.
[SVN r58740]
2010-01-06 02:38:39 +00:00
Christopher Kohlhoff
fb9262b171 Use sockatmark if SIOCATMARK is not defined. Refs #3743.
[SVN r58705]
2010-01-05 12:50:39 +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
05161f352f Include boost/limits.hpp rather than <limits>, to support older compilers.
Refs #3743.


[SVN r58703]
2010-01-05 11:51:41 +00:00
Christopher Kohlhoff
e918b97ec4 Fix Win64 warnings.
[SVN r58671]
2010-01-04 12:33:42 +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
cf516b07a5 Only include implementation headers required for each platform.
[SVN r58652]
2010-01-02 21:38:44 +00:00
Christopher Kohlhoff
c37cae6c1c 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.


[SVN r58651]
2010-01-02 21:37:10 +00:00