2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-27 18:42:07 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
Christopher Kohlhoff
51be01775f Merged documentation changes from trunk.
........
  r49483 | chris_kohlhoff | 2008-10-29 23:50:58 +1100 (Wed, 29 Oct 2008) | 3 lines
  
  Add a new POSIX-specific chat client showing how to use the
  posix::stream_descriptor class.
........
  r49497 | chris_kohlhoff | 2008-10-31 12:09:45 +1100 (Fri, 31 Oct 2008) | 2 lines
  
  Add more documentation for asio::streambuf.
........


[SVN r49499]
2008-10-31 12:05:52 +00:00
Christopher Kohlhoff
2fac9863bc Merge from trunk.
........
  r49155 | nmusatti | 2008-10-07 08:46:14 +1100 (Tue, 07 Oct 2008) | 1 line
  
  Patch from  Ticket #2372
........
  r49195 | chris_kohlhoff | 2008-10-09 17:22:58 +1100 (Thu, 09 Oct 2008) | 2 lines
  
  Add missing bounds checks as specified in TR2 proposal.
........
  r49197 | chris_kohlhoff | 2008-10-09 17:28:39 +1100 (Thu, 09 Oct 2008) | 2 lines
  
  Merge codegear changes from non-boost version of asio.
........
  r49198 | chris_kohlhoff | 2008-10-09 17:30:16 +1100 (Thu, 09 Oct 2008) | 4 lines
  
  Ensure the streambuf's egptr() is kept in sync the pptr(). Use std::memmove
  rather than std::rotate to minimise data copying. Avoid unnecessary resizes
  of the underlying vector.
........
  r49199 | chris_kohlhoff | 2008-10-09 17:31:01 +1100 (Thu, 09 Oct 2008) | 3 lines
  
  Fix basic_socket_streambuf to work with Protocol objects that don't
  provide a resolver.
........
  r49200 | chris_kohlhoff | 2008-10-09 17:32:00 +1100 (Thu, 09 Oct 2008) | 2 lines
  
  Add example showing use of local::stream_protocol::iostream.
........
  r49201 | chris_kohlhoff | 2008-10-09 17:33:34 +1100 (Thu, 09 Oct 2008) | 4 lines
  
  Only use TerminateThread when explicitly requested by the user by calling
  asio::detail::thread::set_terminate_threads(true). This fixes a memory leak
  that may occur with internally created threads.
........
  r49202 | chris_kohlhoff | 2008-10-09 17:34:48 +1100 (Thu, 09 Oct 2008) | 3 lines
  
  Make the service_registry's usage of typeid work when the default gcc
  linker visibility is set to hidden.
........
  r49203 | chris_kohlhoff | 2008-10-09 17:39:05 +1100 (Thu, 09 Oct 2008) | 2 lines
  
  Reduce memory usage by doing lazy initialisation of the io_service's reactor.
........


[SVN r49221]
2008-10-09 20:43:26 +00:00
Christopher Kohlhoff
8e413b0ece Merge from trunk.
........
  r48414 | chris_kohlhoff | 2008-08-28 22:03:46 +1000 (Thu, 28 Aug 2008) | 2 lines
  
  Fix uninitialised event handles in asio::detail::thread in external mode.
........
  r48415 | chris_kohlhoff | 2008-08-28 22:04:21 +1000 (Thu, 28 Aug 2008) | 2 lines
  
  Fix duplicate variable warning.
........
  r48416 | chris_kohlhoff | 2008-08-28 22:06:42 +1000 (Thu, 28 Aug 2008) | 3 lines
  
  Fix duplicate variable warning. Use get_io_service() rather than
  deprecated io_service() function.
........
  r48417 | chris_kohlhoff | 2008-08-28 22:09:09 +1000 (Thu, 28 Aug 2008) | 2 lines
  
  Use get_io_service() rather than deprecated io_service() function.
........
  r48418 | chris_kohlhoff | 2008-08-28 22:11:47 +1000 (Thu, 28 Aug 2008) | 9 lines
  
  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.
........
  r48490 | chris_kohlhoff | 2008-08-31 18:58:49 +1000 (Sun, 31 Aug 2008) | 2 lines
  
  Don't build serial port test code when serial ports are not available.
........
  r48491 | chris_kohlhoff | 2008-08-31 19:01:59 +1000 (Sun, 31 Aug 2008) | 3 lines
  
  Refactor reactive socket implementation so that synchronous read, write,
  accept and connect operations don't modify data associated with the socket.
........
  r48495 | chris_kohlhoff | 2008-08-31 21:38:52 +1000 (Sun, 31 Aug 2008) | 2 lines
  
  Add class to allow use of arbitrary Windows overlapped I/O operations.
........
  r48524 | chris_kohlhoff | 2008-09-02 09:04:35 +1000 (Tue, 02 Sep 2008) | 3 lines
  
  Add support for using an eventfd descriptor on linux to interrupt a blocked
  epoll/select reactor.
........
  r48525 | chris_kohlhoff | 2008-09-02 09:05:05 +1000 (Tue, 02 Sep 2008) | 3 lines
  
  Use templates to handle iovec structures that have an iov_base member of
  type char*.
........
  r48526 | chris_kohlhoff | 2008-09-02 09:07:29 +1000 (Tue, 02 Sep 2008) | 2 lines
  
  Fix error in comment.
........
  r48527 | chris_kohlhoff | 2008-09-02 18:46:46 +1000 (Tue, 02 Sep 2008) | 2 lines
  
  Fix to compile with MSVC 7.1.
........
  r48535 | chris_kohlhoff | 2008-09-02 21:34:18 +1000 (Tue, 02 Sep 2008) | 2 lines
  
  Add const overloads of the lowest_layer member functions.
........
  r48558 | chris_kohlhoff | 2008-09-03 18:56:43 +1000 (Wed, 03 Sep 2008) | 2 lines
  
  Oops, changeset 48535 accidentally reverted 48527's fix.
........
  r48559 | chris_kohlhoff | 2008-09-03 18:57:48 +1000 (Wed, 03 Sep 2008) | 2 lines
  
  Add a workaround for a possible gcc 4.3 optimiser bug.
........
  r48560 | chris_kohlhoff | 2008-09-03 19:06:10 +1000 (Wed, 03 Sep 2008) | 2 lines
  
  Explicitly specify return type with bind to keep some compilers happy.
........
  r48561 | chris_kohlhoff | 2008-09-03 19:08:04 +1000 (Wed, 03 Sep 2008) | 2 lines
  
  Update completion_condition documentation to match new signature.
........
  r48562 | chris_kohlhoff | 2008-09-03 21:36:43 +1000 (Wed, 03 Sep 2008) | 2 lines
  
  Add windows/transmit_file example.
........
  r48563 | chris_kohlhoff | 2008-09-03 21:46:02 +1000 (Wed, 03 Sep 2008) | 2 lines
  
  Document BOOST_ASIO_DISABLE_EVENTFD macro.
........
  r48564 | chris_kohlhoff | 2008-09-03 21:54:06 +1000 (Wed, 03 Sep 2008) | 2 lines
  
  Add windows::overlapped_ptr to the reference index page.
........
  r48565 | chris_kohlhoff | 2008-09-03 22:28:07 +1000 (Wed, 03 Sep 2008) | 2 lines
  
  Regenerate documentation.
........
  r48683 | chris_kohlhoff | 2008-09-09 22:59:43 +1000 (Tue, 09 Sep 2008) | 2 lines
  
  Add windows example directory.
........
  r48684 | chris_kohlhoff | 2008-09-09 23:00:07 +1000 (Tue, 09 Sep 2008) | 2 lines
  
  Remove generated tags file.
........
  r48685 | chris_kohlhoff | 2008-09-09 23:01:16 +1000 (Tue, 09 Sep 2008) | 2 lines
  
  Version bump.
........
  r48686 | chris_kohlhoff | 2008-09-09 23:02:22 +1000 (Tue, 09 Sep 2008) | 2 lines
  
  Handle SSL library errors.
........
  r48715 | chris_kohlhoff | 2008-09-11 10:05:57 +1000 (Thu, 11 Sep 2008) | 2 lines
  
  Clarify which resolve functions perform forward or reverse resolution.
........


[SVN r49194]
2008-10-09 05:41:50 +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
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
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
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
Christopher Kohlhoff
6812338b31 Add Jamfiles for new HTTP server examples.
[SVN r37615]
2007-05-07 12:39:31 +00:00
Christopher Kohlhoff
4992d2358a Artifacts of new boostify.pl.
[SVN r37613]
2007-05-07 11:49:21 +00:00
Christopher Kohlhoff
5f61b15b8d Add new HTTP server examples illustrating io_service-per-cpu and
single-io_service-multiple-threads designs.


[SVN r37612]
2007-05-07 11:46:23 +00:00
Christopher Kohlhoff
084ae264c2 Fix usage message.
[SVN r37390]
2007-04-07 08:57:15 +00:00
Christopher Kohlhoff
bd14eccee7 Fix error_code output.
[SVN r37019]
2007-02-20 13:18:37 +00:00
Christopher Kohlhoff
3e72c27764 Update copyright strings to include 2007.
[SVN r36757]
2007-01-19 01:57:08 +00:00
Christopher Kohlhoff
304d62cf9f Add SOCKS 4 client example.
[SVN r36750]
2007-01-18 13:26:33 +00:00
Christopher Kohlhoff
4ee1510c76 Update socket interfaces to match TR2 proposal.
[SVN r36675]
2007-01-09 13:54:51 +00:00
Christopher Kohlhoff
2b4748aaaa Update copyright strings to include 2007.
[SVN r36581]
2007-01-04 05:53:07 +00:00
Christopher Kohlhoff
e4d9ea696a Add io_service::id to identify service classes.
[SVN r36580]
2007-01-04 03:43:37 +00:00
Christopher Kohlhoff
00690b50ed Add documentation.
[SVN r36502]
2006-12-24 08:35:08 +00:00
Christopher Kohlhoff
bc63a367f9 Add BBv2 support.
[SVN r36412]
2006-12-16 02:27:07 +00:00
Christopher Kohlhoff
7c9fe2a5ac Ensure that what gets thrown is the system_error exception.
[SVN r35947]
2006-11-09 11:21:43 +00:00
Christopher Kohlhoff
852668d1da Change error handling to match TR2 proposal.
[SVN r35911]
2006-11-08 05:32:17 +00:00
Christopher Kohlhoff
da2ef49a00 Add max_size() function to basic_streambuf.
Make basic_io_object constructor protected.

Make a 0-length send or receive on a stream socket into a no-op.

Add cancel() function for cancelling asynchronous socket operations.
The Win32 implementation only works if all operations for the socket
have been issued from the same thread, otherwise it fails with
asio::error::not_supported.

Add workaround for an apparent Windows bug where using getpeername on
a socket accepted using AcceptEx will sometimes return an endpoint
that is all zeroes.

Make a strand last as long as it has any handlers to dispatch. Make
strand a nested class of io_service.

Add io_service() function to io_service::work to return a reference to
the io_service object on which the work is being performed. Renamed
io_service::service::owner() to io_service::service::io_service().

Unset linger object when socket objects are destroyed.

Rename asio_handler_dispatch to asio_handler_invoke.

Rename basic_socketbuf to basic_socket_streambuf.

Update ip::address_v4 and ip::address_v6 classes to match TR2
proposal.

Add run_one(), poll() and poll_one() functions to the io_service.

Remove need to #define FD_SETSIZE on Win32.

Add detection of incorrect inclusion of WinSock.h.

Fix some SSL bugs. Add ability to customise the SSL password callback
function.

Set the reuse_address option by default on acceptors.

The macros FIONREAD and FIONBIO are not integer constants on all
platforms, and so cannot be used as template arguments. Make the
corresponding I/O control commands into proper classes, not templates.

Fixes to better support *BSD platforms.

Add support for buffer debugging, if the standard library supports
iterator debugging (as MSVC8's standard lib does).

Ensure the IOCP queue is drained correctly at shutdown.

Move basic_resolver and resolver service into the ip namespace.

Fix some issues found by the inspect tool.


[SVN r35833]
2006-11-04 07:14:10 +00:00
Christopher Kohlhoff
8e4fa8f544 Maintain separate timer queues for each time traits type.
[SVN r34740]
2006-07-26 11:23:25 +00:00