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