Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8933: on the windows platform async reads with multiple threads can produce random EOF errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-05 19:09:37
#8933: on the windows platform async reads with multiple threads can produce
random EOF errors
-----------------------------------------+----------------------------
Reporter: Shane Powell <killerbee@â¦> | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.54.0 | Severity: Showstopper
Resolution: | Keywords:
-----------------------------------------+----------------------------
Comment (by smueller@â¦):
Replying to [comment:2 Shane Powell <killerbee@â¦>]:
> Where you using UDP? I was mainly taking about TCP. The same kind-of
problem would affect UDP though. In UDP, you wouldn't get a EOF, you
would get a zero length packet and you would lose data (hence your data
lose).
I did not get an EOF, but rather I had a successful result from a composed
read operation which indicated that zero bytes were received. These read
operations were performed on a windows::stream_handle object created from
a named pipe handle.
I'm planning on making further use of the ASIO library in our
communication stack for TCP/IP, where I'm sure I would have seen the exact
same symptoms. Thanks a ton for your investigation!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8933#comment:4> 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:13 UTC