mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
Tidy up a doc code snippet
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Version 241:
|
||||||
|
|
||||||
|
* Tidy up a doc code snippet
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 240:
|
Version 240:
|
||||||
|
|
||||||
* Fix ssl_stream teardown
|
* Fix ssl_stream teardown
|
||||||
|
@ -122,6 +122,7 @@ snippets()
|
|||||||
// Discard all of the bytes stored in the dynamic buffer,
|
// Discard all of the bytes stored in the dynamic buffer,
|
||||||
// otherwise the next call to read will append to the existing
|
// otherwise the next call to read will append to the existing
|
||||||
// data instead of building a fresh message.
|
// data instead of building a fresh message.
|
||||||
|
buffer.consume(buffer.size());
|
||||||
|
|
||||||
//]
|
//]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user