From 3eef03d31e56b4cb521ca5404edfeb9f5d415630 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sat, 30 Mar 2013 07:56:50 -0500 Subject: [PATCH] disables termination of connections that return bad handles --- websocketpp/roles/server_endpoint.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websocketpp/roles/server_endpoint.hpp b/websocketpp/roles/server_endpoint.hpp index 3a830263a7..a07a2ea38e 100644 --- a/websocketpp/roles/server_endpoint.hpp +++ b/websocketpp/roles/server_endpoint.hpp @@ -105,13 +105,13 @@ public: // This really shouldn't happen endpoint_type::m_elog.write(log::elevel::fatal, "handle_accept got an invalid handle back"); - con->terminate(); + //con->terminate(); } else if (hdl_ec) { // There was some other unknown error attempting to convert the hdl // to a connection. endpoint_type::m_elog.write(log::elevel::fatal, "handle_accept error in get_con_from_hdl: "+hdl_ec.message()); - con->terminate(); + //con->terminate(); } else { if (ec) { con->terminate();