id summary reporter owner description type status milestone component version severity resolution keywords cc 4023 Read handler has EOF error_code olafvdspek@… chris_kohlhoff "Hi, I've got the following code in a project. This used to work fine in the past. Now, error_code is EOF while Wireshark doesn't show any end of the TCP stream. With the returns commented, the app works fine. {{{ void connection::start() { asio::async_read(socket_, asio::buffer(buffer_.begin(), 8), boost::bind(&connection::handle_read0, shared_from_this(), asio::placeholders::error)); } void connection::handle_read0(const boost::system::error_code& e) { if (e) { std::cerr << e.message() << std::endl; // return; } asio::async_read(socket_, asio::buffer(&buffer_[8], read_int(2, &buffer_[4]) + buffer_[6]), boost::bind(&connection::handle_read1, shared_from_this(), asio::placeholders::error)); } void connection::handle_read1(const boost::system::error_code& e) { if (e) { std::cerr << e.message() << std::endl; // return; } }}}" Bugs closed Boost 1.43.0 asio Boost 1.42.0 Showstopper fixed