applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp
changeset 49 b91bcc4b38e4
parent 12 88a7990e456a
equal deleted inserted replaced
48:cfbc3a3bd32b 49:b91bcc4b38e4
   312 		__ASSERT_DEBUG( responseIndex != KErrNotFound, User::Invariant() );
   312 		__ASSERT_DEBUG( responseIndex != KErrNotFound, User::Invariant() );
   313 
   313 
   314 		// The request has not been made - just need to remove the request and
   314 		// The request has not been made - just need to remove the request and
   315 		// response objects from the pending queues.
   315 		// response objects from the pending queues.
   316 		iPendingRequests.Remove(requestIndex);
   316 		iPendingRequests.Remove(requestIndex);
   317 		iPendingResponses.Remove(responseIndex);
   317 
       
   318 		if (KErrNotFound != responseIndex)
       
   319 			iPendingResponses.Remove(responseIndex);
   318 		}
   320 		}
   319 	else if( responseIndex != KErrNotFound )
   321 	else if( responseIndex != KErrNotFound )
   320 		{
   322 		{
   321 		// The request has been sent but the response has not yet been received
   323 		// The request has been sent but the response has not yet been received
   322 		// and therefore need to stop the connection and remove response from 
   324 		// and therefore need to stop the connection and remove response from