Subject: Re: [Boost-users] boost::asio::async_read_until composite completion condition
From: Igor R (boost.lists_at_[hidden])
Date: 2009-07-09 17:20:38


> I need to implement a completion condition for boost::asio::async_read_until
> where either a boost::regex is matched or boost::asio::transfer_at_least is matched.

With this overload:
http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/reference/async_read_until/overload4.html
...you can implement any condition you wish.