Re: [Boost-bugs] [Boost C++ Libraries] #8933: on the windows platform async reads with multiple threads can produce random EOF errors

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-12 13:41: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 simoncperkins@…):

 Agreed - that section in the WSARecv docs does specify completion routines
 but as I see it the it completion port is effectively a way of running a
 completion routine on a pool thread.

 I think the key point is that the existing I/O operation has finished when
 the handler is executed. Therefore, it is safe to call WSARecv/WSASend
 again because the existing buffers are no longer in use.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8933#comment:14>
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