--- origin/boost/asio/impl/read_until.hpp Fri Feb 28 08:58:51 2014 +++ patched/boost/asio/impl/read_until.hpp Fri Feb 28 09:00:00 2014 @@ -410,7 +410,7 @@ } // Check if we're done. - if (!start && bytes_to_read == 0) + if (bytes_to_read == 0) break; // Start a new asynchronous read operation to obtain more data.