diff options
Diffstat (limited to 'boost/beast/http/error.hpp')
-rw-r--r-- | boost/beast/http/error.hpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/boost/beast/http/error.hpp b/boost/beast/http/error.hpp index 841a99de25..b3d9fb1188 100644 --- a/boost/beast/http/error.hpp +++ b/boost/beast/http/error.hpp @@ -22,15 +22,10 @@ enum class error { /** The end of the stream was reached. - This error is returned under the following conditions: - - @li When attempting to read HTTP data from a stream and the stream - read returns the error `boost::asio::error::eof` before any new octets - have been received. - - @li When sending a complete HTTP message at once and the semantics of - the message are that the connection should be closed to indicate the - end of the message. + This error is returned when attempting to read HTTP data, + and the stream returns the error `boost::asio::error::eof` + before any octets corresponding to a new HTTP message have + been received. */ end_of_stream = 1, |