Re: [Boost-bugs] [Boost C++ Libraries] #8967: Spurious zero bytes written and eof notifications highlight ASIO IOCP issues

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8967: Spurious zero bytes written and eof notifications highlight ASIO IOCP issues
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-01 11:18:19


#8967: Spurious zero bytes written and eof notifications highlight ASIO IOCP
issues
-------------------------+-------------------------------------------------
  Reporter: | Owner: chris_kohlhoff
  simoncperkins@… | Status: closed
      Type: Bugs | Component: asio
 Milestone: To Be | Severity: Problem
  Determined | Keywords: eof GetQueuedCompletionStatus
   Version: Boost | WSARecv WSASend overlapped
  1.54.0 |
Resolution: invalid |
-------------------------+-------------------------------------------------

Comment (by simoncperkins@…):

 Ok, thanks for fixing the problem but as stated above I disagree with your
 points.

 I believe you can safely free the overlapped structure in 2) if the IO in
 1) has completed. That's how IO completion ports are intended to work.

 The current implementation is sub-optimal because it makes unnecessary
 calls to PostQueuedCompletionStatus .

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