* Chrono support.
* Added object_handle support.
* Need to enable the basic_handle class when object_handle is supported.
* Update copyright notices.
* Fix MSVC "performance warning".
* Fix for NetBSD. Fixes#6098.
* Fix regression in buffered_write_stream. Fixes#6310.
* Fix deadlock on Mac OS X. Fixes#6275.
* On linux, connect can return EAGAIN in certain circumstances. Remap to another
error so that it doesn't look like a non-blocking operation. Fixes#6048.
* Fix non-paged pool "leak" on Windows when io_service is repeatedly run without anything to do. Fixes#6321.
* Disable object_handle on Windows CE.
* Add extra include required for OVERLAPPED struct.
* Fix doxygen comments.
* Update documentation.
* Add missing class.
* Update copyright year.
[SVN r76516]
Fix compile error in regex overload of async_read_until.hpp. Fixes#5688
Explicitly specify the signal() function from the global namespace. Fixes#5722
Don't read the clock unless the heap is non-empty.
Change the SSL buffers sizes so that they're large enough to hold a complete TLS record. Fixes#5854
Make sure the synchronous null_buffers operations obey the user's non_blocking setting. Fixes#5756
Set size of select fd_set at runtime when using Windows.
Disable warning due to const qualifier being applied to function type.
Fix crash due to gcc_x86_fenced_block that shows up when using the Intel C++ compiler. Fixes#5763
Specialise operations for buffer sequences that are arrays of exactly two buffers.
Initialise all OpenSSL algorithms.
Fix error mapping when session is gracefully shut down.
Various performance improvements:
* Split the task_io_service's run and poll code.
* Use thread-local operation queues in single-threaded use cases (i.e. concurrency_hint is 1) to eliminate a lock/unlock pair.
* Only fence block exit when a handler is being run directly out of the io_service.
* Prefer x86 mfence-based fenced block when available.
* Use a plain ol' long for the atomic_count when all thread support is disabled.
* Allow some epoll_reactor speculative operations to be performed without holding the lock.
* Improve locality of reference by performing an epoll_reactor's I/O operation immediately before the corresponding handler is called. This also improves scalability across CPUs when multiple threads are running the io_service.
* Pass same error_code variable through to each operation's complete() function.
* Optimise creation of and access to the io_service implementation.
Remove unused state in HTTP server examples.
Add latency test programs.
[SVN r74863]
* 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]
........
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]
........
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]
- 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.
[SVN r48418]
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]