applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp
changeset 49 b91bcc4b38e4
parent 12 88a7990e456a
--- a/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp	Mon Sep 27 10:31:51 2010 +0530
+++ b/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp	Mon Oct 04 15:35:43 2010 +0530
@@ -314,7 +314,9 @@
 		// The request has not been made - just need to remove the request and
 		// response objects from the pending queues.
 		iPendingRequests.Remove(requestIndex);
-		iPendingResponses.Remove(responseIndex);
+
+		if (KErrNotFound != responseIndex)
+			iPendingResponses.Remove(responseIndex);
 		}
 	else if( responseIndex != KErrNotFound )
 		{