applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp
equal
deleted
inserted
replaced
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 |