mirror of
https://github.com/boostorg/beast.git
synced 2025-08-04 07:14:32 +02:00
Remove redundant code
This commit is contained in:
@@ -9,6 +9,7 @@ Version 58:
|
|||||||
* basic_fields::set optimization
|
* basic_fields::set optimization
|
||||||
* basic_parser::put doc
|
* basic_parser::put doc
|
||||||
* Use static string in basic_fields::reader
|
* Use static string in basic_fields::reader
|
||||||
|
* Remove redundant code
|
||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
|
@@ -758,9 +758,6 @@ write(SyncWriteStream& stream,
|
|||||||
"BodyReader requirements not met");
|
"BodyReader requirements not met");
|
||||||
auto sr = make_serializer(msg);
|
auto sr = make_serializer(msg);
|
||||||
write(stream, sr, ec);
|
write(stream, sr, ec);
|
||||||
if(! ec)
|
|
||||||
if(sr.need_close())
|
|
||||||
ec = error::end_of_stream;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class AsyncWriteStream,
|
template<class AsyncWriteStream,
|
||||||
|
Reference in New Issue
Block a user