........
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]