diff -r 337070b4fa18 -r fa2fd8b2d6cc applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp --- a/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp Fri Mar 12 15:45:46 2010 +0200 +++ b/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp Mon Mar 15 12:42:40 2010 +0200 @@ -595,7 +595,7 @@ } if ( aError == KErrEof || aError == KErrCancel ) { - if ( IsPendingWriteInConnectedState() && !iCurrentRequest->NeedDisconnectNotification() ) + if ( IsPendingWriteInConnectedState() && iCurrentRequest && !iCurrentRequest->NeedDisconnectNotification() ) { // Server shut down the connect before the current transaction had // a chance to send any of its data - attempt re-connect to server.