Subject: [Boost-bugs] [Boost C++ Libraries] #3861: Closing a socket doesn't cancel all pending asynchronous send operations
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-26 11:05:22
#3861: Closing a socket doesn't cancel all pending asynchronous send operations
-------------------------------------+--------------------------------------
Reporter: m.de.wever@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: asio
Version: Boost 1.40.0 | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
Using the attached sample program (a slightly modified version of the
daytime3 tutorial). When I connect with a telnet session to the server and
close the connection directly I get the following output from the server:
Transfer status: Success.
Transfer status: Broken pipe.
Transfer status: Broken pipe.
Transfer status: Broken pipe.
After the first error I close the socket and would expect a
boost::asio::error::operation_aborted error instead of the broken pipe.
Reproduced under both Debian Lenny (gcc 4.3.4) and Windows XP (MSVC 2008).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3861> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC