Remove redundant code

This commit is contained in:
Vinnie Falco
2017-06-15 10:16:43 -07:00
parent 500fa6aaaa
commit 5808fa247b
2 changed files with 1 additions and 3 deletions

View File

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

View File

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