Squelch harmless not_connected errors

This commit is contained in:
Vinnie Falco
2017-07-20 08:15:27 -07:00
parent 5613ce7e97
commit f4c65a5ba6
8 changed files with 22 additions and 12 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ int main()
// Shut down SSL on the stream
stream.shutdown(ec);
if(ec && ec != boost::asio::error::eof)
fail("ssl shutdown ", ec);
fail("ssl_shutdown ", ec);
// If we get here then the connection is closed gracefully
return EXIT_SUCCESS;