applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp
branchRCL_3
changeset 6 fa2fd8b2d6cc
parent 5 337070b4fa18
child 18 5f1cd966e0d9
equal deleted inserted replaced
5:337070b4fa18 6:fa2fd8b2d6cc
   593 		    iSecureRetry = ETrue; 
   593 		    iSecureRetry = ETrue; 
   594             aError = KErrEof;
   594             aError = KErrEof;
   595  		    }
   595  		    }
   596  		if (  aError == KErrEof || aError == KErrCancel  ) 
   596  		if (  aError == KErrEof || aError == KErrCancel  ) 
   597  			{
   597  			{
   598 			if ( IsPendingWriteInConnectedState() && !iCurrentRequest->NeedDisconnectNotification() )
   598 			if ( IsPendingWriteInConnectedState() && iCurrentRequest && !iCurrentRequest->NeedDisconnectNotification() )
   599  				{
   599  				{
   600 				// Server shut down the connect before the current transaction had 
   600 				// Server shut down the connect before the current transaction had 
   601  				// a chance to send any of its data - attempt re-connect to server.	
   601  				// a chance to send any of its data - attempt re-connect to server.	
   602  				// Cancel the current request
   602  				// Cancel the current request
   603  				iCurrentRequest->CancelRequest ();		
   603  				iCurrentRequest->CancelRequest ();