id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5999,boost::asio::async_read with completion_condition strange behavior when the given buffer is exausted before the completion function returned true,bugspynet@…,chris_kohlhoff," Consider {{{ asio::async_read(tcpSocket, inBuf,completionFn, handlerFn); }}} '''Where inBuf was set to a max size N'''. [[BR]][[BR]] Now if the completionFn won't return true for the next N bytes received, asio strangely just calls handlerFn without the error_code set. There is no way for the code to know that something went wrong (the buffer exausted before completionFn returned true)[[BR]] '''Expected behavior:'''[[BR]] Call the completionFn or handlerFn with error_code set. '''Actual behavior:''' handlerFn is called without setting the error_code. ",Bugs,closed,To Be Determined,asio,Boost 1.47.0,Problem,fixed,,