Commit Graph

1359 Commits

Author SHA1 Message Date
Christopher Kohlhoff
0b693c585c Fix memory leak in use_tmp_dh_file().
[SVN r48032]
2008-08-08 14:48:24 +00:00
Christopher Kohlhoff
71d47ca98c Fix a tight spin on epoll (or /dev/poll) that occurs when the EPOLLERR and
EPOLLHUP events are reported for a descriptor and there are no pending
operations.


[SVN r48031]
2008-08-08 14:47:58 +00:00
Christopher Kohlhoff
1d7535d73b Merged revisions 47673 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r47673 | chris_kohlhoff | 2008-07-22 18:26:35 +1000 (Tue, 22 Jul 2008) | 3 lines
  
  Correct an array bounds error in the treatment of paths for UNIX domain sockets.
  Fixes #2120.
........


[SVN r47674]
2008-07-22 08:30:38 +00:00
Christopher Kohlhoff
2d79a40ae6 Correct an array bounds error in the treatment of paths for UNIX domain sockets.
Fixes #2120.


[SVN r47673]
2008-07-22 08:26:35 +00:00
Christopher Kohlhoff
b679000402 Merged revisions 47550 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r47550 | chris_kohlhoff | 2008-07-18 23:18:56 +1000 (Fri, 18 Jul 2008) | 2 lines
  
  More documentation updates.
........


[SVN r47552]
2008-07-18 13:36:19 +00:00
Christopher Kohlhoff
f88787fe47 More documentation updates.
[SVN r47550]
2008-07-18 13:18:56 +00:00
Christopher Kohlhoff
31d88a07cf Merged revisions 47503 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r47503 | chris_kohlhoff | 2008-07-18 01:05:24 +1000 (Fri, 18 Jul 2008) | 2 lines
  
  Documentation updates.
........


[SVN r47504]
2008-07-17 15:11:00 +00:00
Christopher Kohlhoff
c2dedfe03b Documentation updates.
[SVN r47503]
2008-07-17 15:05:24 +00:00
Christopher Kohlhoff
b3635001fa Fix generation for some links from tutorial to reference material.
[SVN r47298]
2008-07-10 23:05:26 +00:00
Christopher Kohlhoff
f56c151625 Merged bug fixes, doc changes and examples from trunk.
........
  r47217 | chris_kohlhoff | 2008-07-08 22:30:49 +1000 (Tue, 08 Jul 2008) | 3 lines
  
  POSIX platforms are not required to define IOV_MAX, so if it's not
  available default to the stipulated minimum of 16.
........
  r47218 | chris_kohlhoff | 2008-07-08 22:31:48 +1000 (Tue, 08 Jul 2008) | 2 lines
  
  Fix SSL thread ID function to work correctly on 64-bit Windows.
........
  r47248 | chris_kohlhoff | 2008-07-09 07:56:50 +1000 (Wed, 09 Jul 2008) | 2 lines
  
  Add new type requirements.
........
  r47249 | chris_kohlhoff | 2008-07-09 08:54:38 +1000 (Wed, 09 Jul 2008) | 2 lines
  
  Add example showing how to use UNIX domain sockets with connect_pair().
........
  r47261 | chris_kohlhoff | 2008-07-09 22:00:56 +1000 (Wed, 09 Jul 2008) | 2 lines
  
  Add more UNIX domain socket examples.
........


[SVN r47263]
2008-07-09 12:35:37 +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
22fe89b0fe Add new type requirements.
[SVN r47248]
2008-07-08 21:56:50 +00:00
Christopher Kohlhoff
397280019d Asio version bump pending release.
[SVN r47219]
2008-07-08 12:40:26 +00:00
Christopher Kohlhoff
285f3e5246 Fix SSL thread ID function to work correctly on 64-bit Windows.
[SVN r47218]
2008-07-08 12:31:48 +00:00
Christopher Kohlhoff
c8899c13a0 POSIX platforms are not required to define IOV_MAX, so if it's not
available default to the stipulated minimum of 16.


[SVN r47217]
2008-07-08 12:30:49 +00:00
Christopher Kohlhoff
ffd222435e Merge bug and doc fixes from trunk.
........
  r46535 | chris_kohlhoff | 2008-06-20 10:25:50 +1000 (Fri, 20 Jun 2008) | 2 lines
  
  One more check needed for BSD serial port extensions.
........
  r46766 | chris_kohlhoff | 2008-06-27 15:38:16 +1000 (Fri, 27 Jun 2008) | 2 lines
  
  Add missing copyright notices.
........
  r46876 | chris_kohlhoff | 2008-06-30 10:24:44 +1000 (Mon, 30 Jun 2008) | 2 lines
  
  Some linux configurations do not automatically define _XOPEN_SOURCE.
........
  r46944 | chris_kohlhoff | 2008-07-01 21:52:54 +1000 (Tue, 01 Jul 2008) | 2 lines
  
  Fix documentation on behaviour when a connect operation fails.
........
  r46945 | chris_kohlhoff | 2008-07-01 21:53:54 +1000 (Tue, 01 Jul 2008) | 2 lines
  
  Fix name of parameter as referred to in documentation.
........
  r46946 | chris_kohlhoff | 2008-07-01 21:58:39 +1000 (Tue, 01 Jul 2008) | 2 lines
  
  Fix typos.
........
  r46947 | chris_kohlhoff | 2008-07-01 21:59:25 +1000 (Tue, 01 Jul 2008) | 2 lines
  
  Merge in new reference index page.
........
  r46948 | chris_kohlhoff | 2008-07-01 22:06:49 +1000 (Tue, 01 Jul 2008) | 2 lines
  
  Documentation generation enhancements.
........
  r46949 | chris_kohlhoff | 2008-07-01 22:13:51 +1000 (Tue, 01 Jul 2008) | 2 lines
  
  Improve buffer() documentation. Fix vector overloads to match TR2 proposal.
........
  r46950 | chris_kohlhoff | 2008-07-01 22:14:57 +1000 (Tue, 01 Jul 2008) | 4 lines
  
  Clarify behaviour of read_until/async_read_until with respect to leftover
  data in the streambuf. Use separate brief descriptions for function groups.
  Add some extra notes to the io_service documentation.
........
  r47013 | chris_kohlhoff | 2008-07-03 08:50:50 +1000 (Thu, 03 Jul 2008) | 2 lines
  
  Regenerate documentation.
........


[SVN r47038]
2008-07-03 13:05:33 +00:00
Christopher Kohlhoff
27bcef63d8 Fix image location.
[SVN r47016]
2008-07-02 23:01:17 +00:00
Christopher Kohlhoff
479a3abd98 Version bump.
[SVN r47014]
2008-07-02 22:52:22 +00:00
Christopher Kohlhoff
f3340c9eb2 Regenerate documentation.
[SVN r47013]
2008-07-02 22:50:50 +00:00
Christopher Kohlhoff
e14e831413 Clarify behaviour of read_until/async_read_until with respect to leftover
data in the streambuf. Use separate brief descriptions for function groups.
Add some extra notes to the io_service documentation.


[SVN r46950]
2008-07-01 12:14:57 +00:00
Christopher Kohlhoff
4123435aa2 Improve buffer() documentation. Fix vector overloads to match TR2 proposal.
[SVN r46949]
2008-07-01 12:13:51 +00:00
Christopher Kohlhoff
6d8047bd62 Documentation generation enhancements.
[SVN r46948]
2008-07-01 12:06:49 +00:00
Christopher Kohlhoff
3fded3b5c8 Merge in new reference index page.
[SVN r46947]
2008-07-01 11:59:25 +00:00
Christopher Kohlhoff
c130f6f8c5 Fix typos.
[SVN r46946]
2008-07-01 11:58:39 +00:00
Christopher Kohlhoff
e8c7f33c05 Fix name of parameter as referred to in documentation.
[SVN r46945]
2008-07-01 11:53:54 +00:00
Christopher Kohlhoff
39f9567e78 Fix documentation on behaviour when a connect operation fails.
[SVN r46944]
2008-07-01 11:52:54 +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
3102715354 Add missing copyright notices.
[SVN r46766]
2008-06-27 05:38:16 +00:00
Christopher Kohlhoff
03fc0e7dd6 One more check needed for BSD serial port extensions.
[SVN r46535]
2008-06-20 00:25:50 +00:00
Christopher Kohlhoff
43174fd619 Merged from trunk to release branch.
........
  r44662 | chris_kohlhoff | 2008-04-21 11:23:42 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Add ability to disable the uses of the typeid operator by defining
  BOOST_NO_TYPEID or BOOST_ASIO_NO_TYPEID.
........
  r44663 | chris_kohlhoff | 2008-04-21 11:27:48 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Ensure that timer dispatching responsibility is correctly relinquished when
  processing leftover interrupts from a previous run invocation.
........
  r44665 | chris_kohlhoff | 2008-04-21 11:36:28 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Enhance example to make it clear that invocation hooking can be used with
  asynchronous operations.
........
  r44666 | chris_kohlhoff | 2008-04-21 11:39:06 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Improve efficiency of basic_streambuf::consume() by using a single call to
  gbump() rather than calling sbumpc() in a loop.
........
  r44667 | chris_kohlhoff | 2008-04-21 11:41:29 +1000 (Mon, 21 Apr 2008) | 2 lines
  
  Update version number to match release.
........
  r44668 | chris_kohlhoff | 2008-04-21 11:42:10 +1000 (Mon, 21 Apr 2008) | 2 lines
  
  Fix infinite recursion in the ssl::stream's shutdown() implementation.
........
  r44670 | chris_kohlhoff | 2008-04-21 12:01:34 +1000 (Mon, 21 Apr 2008) | 2 lines
  
  Improve documentation for the protected functions and data in basic_io_object<>.
........
  r44673 | chris_kohlhoff | 2008-04-21 14:02:37 +1000 (Mon, 21 Apr 2008) | 4 lines
  
  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.
........
  r44674 | chris_kohlhoff | 2008-04-21 14:43:05 +1000 (Mon, 21 Apr 2008) | 2 lines
  
  Add support for UNIX domain sockets.
........
  r44675 | chris_kohlhoff | 2008-04-21 15:16:15 +1000 (Mon, 21 Apr 2008) | 2 lines
  
  Add new wrapper classes for stream-oriented file descriptors on POSIX platforms.
........
  r44676 | chris_kohlhoff | 2008-04-21 15:32:34 +1000 (Mon, 21 Apr 2008) | 2 lines
  
  Add new wrapper classes for stream-oriented handles on Windows.
........
  r44678 | chris_kohlhoff | 2008-04-21 15:43:42 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Add porthopper example to demonstrate applications that mix synchronous and
  asynchronous operations.
........
  r44679 | chris_kohlhoff | 2008-04-21 15:52:20 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Remove a local variable that was hiding the ec parameter and preventing
  error codes from being correctly propagated. Fixes #1820.
........
  r44681 | chris_kohlhoff | 2008-04-21 16:14:29 +1000 (Mon, 21 Apr 2008) | 2 lines
  
  Ensure all non-friend related functions are included in the documentation.
........
  r44682 | chris_kohlhoff | 2008-04-21 16:15:17 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Add UNIX domain sockets, POSIX stream-oriented descriptors and Windows
  stream-oriented handles to the reference documentation.
........
  r44683 | chris_kohlhoff | 2008-04-21 16:15:50 +1000 (Mon, 21 Apr 2008) | 2 lines
  
  Regenerate documentation.
........
  r44684 | chris_kohlhoff | 2008-04-21 16:20:32 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Add documentation on the limits of the number of buffers that may be
  transferred in individual operations.
........
  r44685 | chris_kohlhoff | 2008-04-21 17:59:21 +1000 (Mon, 21 Apr 2008) | 3 lines
  
  Add requirements for handle and descriptor services. Add new classes to the
  quickref index page.
........
  r44727 | chris_kohlhoff | 2008-04-23 09:46:15 +1000 (Wed, 23 Apr 2008) | 2 lines
  
  Fix or suppress MSVC level 4 warnings. Fixes #1703.
........
  r44848 | chris_kohlhoff | 2008-04-28 23:35:27 +1000 (Mon, 28 Apr 2008) | 2 lines
  
  Update asio version number.
........
  r44849 | chris_kohlhoff | 2008-04-28 23:36:18 +1000 (Mon, 28 Apr 2008) | 2 lines
  
  Add raw socket support.
........
  r44851 | chris_kohlhoff | 2008-04-28 23:56:07 +1000 (Mon, 28 Apr 2008) | 2 lines
  
  Add an experimental two-lock queue implementation for task_io_service.
........
  r44997 | chris_kohlhoff | 2008-05-02 08:00:26 +1000 (Fri, 02 May 2008) | 3 lines
  
  Add a fast path for some speculative read and write operations in the
  epoll_reactor.
........
  r44998 | chris_kohlhoff | 2008-05-02 08:27:21 +1000 (Fri, 02 May 2008) | 3 lines
  
  A memory barrier is needed on some platforms to ensure that all updates
  to the node occur before the tail pointer is updated.
........
  r45006 | chris_kohlhoff | 2008-05-02 17:59:01 +1000 (Fri, 02 May 2008) | 3 lines
  
  Fully qualify uses of asio's placeholders to resolve ambiguity with C++0x's
  placeholders namespace.
........
  r45010 | chris_kohlhoff | 2008-05-02 18:38:15 +1000 (Fri, 02 May 2008) | 3 lines
  
  Don't use the names readv and writev for functions defined inside asio as
  these names seem to be macros on Tru64.
........
  r45059 | chris_kohlhoff | 2008-05-03 21:36:16 +1000 (Sat, 03 May 2008) | 2 lines
  
  Add fast-pathing of speculative reads and writes to the kqueue_reactor.
........
  r45122 | chris_kohlhoff | 2008-05-05 16:30:13 +1000 (Mon, 05 May 2008) | 2 lines
  
  Implement custom memory allocation support for reactor-based asynchronous operations.
........
  r45179 | chris_kohlhoff | 2008-05-07 08:09:47 +1000 (Wed, 07 May 2008) | 2 lines
  
  Use an atomic counter for strand reference counting.
........
  r45292 | chris_kohlhoff | 2008-05-12 18:30:21 +1000 (Mon, 12 May 2008) | 2 lines
  
  Regenerate documentation to include raw socket classes.
........
  r45293 | chris_kohlhoff | 2008-05-12 18:35:56 +1000 (Mon, 12 May 2008) | 2 lines
  
  Don't generate enum value lists for empty enums.
........
  r45355 | chris_kohlhoff | 2008-05-14 22:17:26 +1000 (Wed, 14 May 2008) | 3 lines
  
  Add check for empty heap when determining the minimum wait duration for a
  timer queue.
........
  r45600 | chris_kohlhoff | 2008-05-21 19:25:12 +1000 (Wed, 21 May 2008) | 2 lines
  
  Implement custom allocation support for timer operations.
........
  r45633 | chris_kohlhoff | 2008-05-22 08:56:49 +1000 (Thu, 22 May 2008) | 2 lines
  
  Some Windows platforms don't define IPPROTO_ICMPV6.
........
  r45811 | chris_kohlhoff | 2008-05-27 17:54:12 +1000 (Tue, 27 May 2008) | 3 lines
  
  Fix a 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).
........
  r45935 | chris_kohlhoff | 2008-05-30 18:39:19 +1000 (Fri, 30 May 2008) | 5 lines
  
  Fix a deadlock that can occur when destroying a thread object with global
  lifetime in a dynamically loaded DLL on Windows. Note that deadlock can
  still occur if the thread is launched by the constructor of an object with
  global lifetime.
........
  r46003 | chris_kohlhoff | 2008-06-01 11:31:25 +1000 (Sun, 01 Jun 2008) | 4 lines
  
  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). 
........
  r46272 | chris_kohlhoff | 2008-06-09 22:54:55 +1000 (Mon, 09 Jun 2008) | 2 lines
  
  Add support for serial ports.
........
  r46319 | chris_kohlhoff | 2008-06-11 21:17:53 +1000 (Wed, 11 Jun 2008) | 2 lines
  
  Add random-access handles for use on Windows.
........
  r46325 | chris_kohlhoff | 2008-06-11 22:41:48 +1000 (Wed, 11 Jun 2008) | 2 lines
  
  Remove repeated typedef of reactor_type.
........
  r46327 | chris_kohlhoff | 2008-06-11 23:07:41 +1000 (Wed, 11 Jun 2008) | 2 lines
  
  Only perform check for a 0-byte receive meaning EOF on SOCK_STREAM sockets.
........
  r46415 | chris_kohlhoff | 2008-06-16 10:41:29 +1000 (Mon, 16 Jun 2008) | 2 lines
  
  Add an iterator for bytewise traversal of a buffer sequence.
........
  r46473 | chris_kohlhoff | 2008-06-18 21:22:21 +1000 (Wed, 18 Jun 2008) | 2 lines
  
  Fix write_at declaration. Add missing documentation for offset parameters.
........
  r46475 | chris_kohlhoff | 2008-06-18 23:03:46 +1000 (Wed, 18 Jun 2008) | 3 lines
  
  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.
........
  r46476 | chris_kohlhoff | 2008-06-18 23:08:21 +1000 (Wed, 18 Jun 2008) | 2 lines
  
  Regenerate documentation.
........
  r46506 | chris_kohlhoff | 2008-06-19 22:41:32 +1000 (Thu, 19 Jun 2008) | 2 lines
  
  Fix for unicode builds.
........
  r46507 | chris_kohlhoff | 2008-06-19 22:50:02 +1000 (Thu, 19 Jun 2008) | 3 lines
  
  Fix serial port support on POSIX platforms that don't provide the BSD
  extensions cfmakeraw, cfsetspeed and CRTSCTS.
........


[SVN r46533]
2008-06-19 22:20:52 +00:00
Christopher Kohlhoff
ffe21c73a2 Fix serial port support on POSIX platforms that don't provide the BSD
extensions cfmakeraw, cfsetspeed and CRTSCTS.


[SVN r46507]
2008-06-19 12:50:02 +00:00
Christopher Kohlhoff
6e1c421d72 Fix for unicode builds.
[SVN r46506]
2008-06-19 12:41:32 +00:00
Christopher Kohlhoff
7f1d03c081 Regenerate documentation.
[SVN r46476]
2008-06-18 13:08:21 +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
2d5f24d6ae Fix write_at declaration. Add missing documentation for offset parameters.
[SVN r46473]
2008-06-18 11:22:21 +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
2d4504e512 Only perform check for a 0-byte receive meaning EOF on SOCK_STREAM sockets.
[SVN r46327]
2008-06-11 13:07:41 +00:00
Christopher Kohlhoff
cac7fe6350 Remove repeated typedef of reactor_type.
[SVN r46325]
2008-06-11 12:41:48 +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
f3ee6627d8 Fix a deadlock that can occur when destroying a thread object with global
lifetime in a dynamically loaded DLL on Windows. Note that deadlock can
still occur if the thread is launched by the constructor of an object with
global lifetime.


[SVN r45935]
2008-05-30 08:39:19 +00:00
Christopher Kohlhoff
56b93eea3a Fix a 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 r45811]
2008-05-27 07:54:12 +00:00
Christopher Kohlhoff
ac762e87b9 Some Windows platforms don't define IPPROTO_ICMPV6.
[SVN r45633]
2008-05-21 22:56:49 +00:00
Christopher Kohlhoff
e011561170 Implement custom allocation support for timer operations.
[SVN r45600]
2008-05-21 09:25:12 +00:00
Christopher Kohlhoff
db608c4370 Add check for empty heap when determining the minimum wait duration for a
timer queue.


[SVN r45355]
2008-05-14 12:17:26 +00:00
Christopher Kohlhoff
4dc6d7c679 Don't generate enum value lists for empty enums.
[SVN r45293]
2008-05-12 08:35:56 +00:00
Christopher Kohlhoff
ba11496382 Regenerate documentation to include raw socket classes.
[SVN r45292]
2008-05-12 08:30:21 +00:00
Christopher Kohlhoff
40fd64673f Use an atomic counter for strand reference counting.
[SVN r45179]
2008-05-06 22:09:47 +00:00