Re: [Boost-bugs] [Boost C++ Libraries] #9723: async_read_until logic bug

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9723: async_read_until logic bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-05 07:52:49


#9723: async_read_until logic bug
-------------------------------+------------------------------
  Reporter: anonymous | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.55.0 | Severity: Showstopper
Resolution: invalid | Keywords: async_read_until
-------------------------------+------------------------------
Changes (by chris_kohlhoff):

 * status: new => closed
 * resolution: => invalid

Comment:

 According to asio's rules, it must not call the handler from inside the
 initiating function. In this case the operation does complete immediately,
 it just uses async_read_some to deliver the completion. You will note that
 the requirements for an AsyncReadStream say that a 0-byte read shall
 complete immediately. If there's a problem here, it is with something not
 adhering to the AsyncReadStream requirements. Please reopen if you are
 able to provide more information as to what that is.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9723#comment:1>
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:16 UTC