From 3302a520f4c79cec3ecd3c62bfa78534260346e0 Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 23 Nov 2010 22:16:11 +0000 Subject: (svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning --- src/network/core/tcp_http.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/core') diff --git a/src/network/core/tcp_http.cpp b/src/network/core/tcp_http.cpp index ac32d47da..5ad24cfb7 100644 --- a/src/network/core/tcp_http.cpp +++ b/src/network/core/tcp_http.cpp @@ -51,6 +51,7 @@ NetworkHTTPSocketHandler::NetworkHTTPSocketHandler(SOCKET s, * of information? Just fall back to the old system! */ this->callback->OnFailure(); delete this; + return; } *_http_connections.Append() = this; -- cgit v1.2.3-54-g00ecf