Tidy up http_sync_port error check

This commit is contained in:
Vinnie Falco
2017-07-02 08:22:45 -07:00
parent fcc83e6a19
commit 8910ab44ae
2 changed files with 1 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ Version 71:
* Check trailers in test * Check trailers in test
* Fix buffer overflow handling for string_body and mutable_body * Fix buffer overflow handling for string_body and mutable_body
* Concept check in basic_dynamic_body * Concept check in basic_dynamic_body
* Tidy up http_sync_port error check
WebSockets: WebSockets:

View File

@@ -295,7 +295,6 @@ private:
{ {
// Give the derived class a chance to do stuff // Give the derived class a chance to do stuff
if(ec && ec != beast::errc::not_connected) if(ec && ec != beast::errc::not_connected)
if(ec)
return fail("shutdown", ec); return fail("shutdown", ec);
return; return;
} }