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: 2014-02-24 17:00:40
#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: closed
Milestone: To Be Determined | Component: asio
Version: Boost 1.54.0 | Severity: Showstopper
Resolution: fixed | Keywords:
-----------------------------------------+----------------------------
Comment (by simoncperkins@â¦):
As I have pointed our in the past, I think there are some issues with the
implementation on Windows. One issue is that it passes a
lpNumberOfBytesRevd/Sent to WSASend/WSARecv even though the docs state:
'''Use NULL for this parameter if the lpOverlapped parameter is not NULL
to avoid potentially erroneous results. This parameter can be NULL only if
the lpOverlapped parameter is not NULL.'''
Also, I believe there is a potential efficiency issue due to the overuse
of PostQueuedCompletionStatus.
See this ticket for more information:
https://svn.boost.org/trac/boost/ticket/8967
We are running with the patch in that ticket applied to boost 1.55
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8933#comment:23> 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:15 UTC