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-11 07:10:58


#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 Shane Powell <killerbee@…>):

 The io completion port setup for WASSend/Recv/etc do use a OVERLAPPED
 struct and the MSDN doc's can kind of be read either way I think.

 That is why I would like to play with it when I get a chance to see if I
 can break it.

 ASIO just side-steps the whole issue by delaying the handler complete
 until after the function has returned. It's been doing this for awhile
 now so it's been working for asio without any problems up until now.
 Maybe it's the "best" way to go overall that is the safest for most naive
 asio programs.

 The performance junkie in me tho would like to see it removed (or have a
 option to see it removed) if we can make it safe.

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