[Boost-bugs] [Boost C++ Libraries] #6660: async_read_some does not complete immediately when the delimeter is already in the streambuf.

Subject: [Boost-bugs] [Boost C++ Libraries] #6660: async_read_some does not complete immediately when the delimeter is already in the streambuf.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-07 21:20:37


#6660: async_read_some does not complete immediately when the delimeter is already
in the streambuf.
-------------------------------------+--------------------------------------
 Reporter: sammy@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost Development Trunk | Severity: Regression
 Keywords: |
-------------------------------------+--------------------------------------
 From the async_read_some() documentation:
 (http://www.boost.org/doc/libs/1_46_1/doc/html/boost_asio/reference/async_read_until/over\
 load2.html)

 "If the streambuf's get area already contains the delimiter, this
 asynchronous operation completes immediately."

 This condition appears to be met under boost 1.42.0, and not under
 boost 1.46.1, boost 1.49.0, or boost trunk from subversion.

 A test program will be attached to this bug which contains more
 information.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6660>
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:09 UTC