applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp
branchRCL_3
changeset 6 fa2fd8b2d6cc
parent 5 337070b4fa18
child 18 5f1cd966e0d9
--- 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.