From 8910ab44aebf4b9cce0cc1b3c81b7767ae04c12f Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sun, 2 Jul 2017 08:22:45 -0700 Subject: [PATCH] Tidy up http_sync_port error check --- CHANGELOG.md | 1 + example/server-framework/http_sync_port.hpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9bf96e4..e2c5f23a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Version 71: * Check trailers in test * Fix buffer overflow handling for string_body and mutable_body * Concept check in basic_dynamic_body +* Tidy up http_sync_port error check WebSockets: diff --git a/example/server-framework/http_sync_port.hpp b/example/server-framework/http_sync_port.hpp index 62ab75c9..6f581059 100644 --- a/example/server-framework/http_sync_port.hpp +++ b/example/server-framework/http_sync_port.hpp @@ -295,7 +295,6 @@ private: { // Give the derived class a chance to do stuff if(ec && ec != beast::errc::not_connected) - if(ec) return fail("shutdown", ec); return; }