From 8c9891595511ecc559051f38c58a4ab696e84929 Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 23 Nov 2010 22:16:11 +0000 Subject: [PATCH] (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(+) diff --git a/src/network/core/tcp_http.cpp b/src/network/core/tcp_http.cpp index ac32d47daa..5ad24cfb73 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;