Tidy up end_of_stream javadoc

fix #1023
This commit is contained in:
Vinnie Falco
2018-02-21 08:45:08 -08:00
parent 48a974530c
commit 8dcc6162c1
2 changed files with 10 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
Version 158:
* Tidy up end_of_stream javadoc
--------------------------------------------------------------------------------
Version 157:
* Fix teardown for TIME_WAIT

View File

@@ -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,