Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6698: WSASend synchronous send/close failure with latency
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-29 00:29:57
#6698: WSASend synchronous send/close failure with latency
-------------------------------+--------------------------------------------
Reporter: thrawy@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: asio
Version: Boost 1.47.0 | Severity: Problem
Resolution: invalid | Keywords: syncrhonous WSASend latency
-------------------------------+--------------------------------------------
Changes (by chris_kohlhoff):
* status: new => closed
* resolution: => invalid
Comment:
On some versions of Windows, closing the socket while there is still
unbuffered data may result in data loss. Try using a strategy for graceful
close, e.g. half closing the socket (using shutdown) and then waiting for
the peer to close once it has received all the data (which means receive
will fail with asio::error::eof).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6698#comment:1> 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:09 UTC