webengine/osswebengine/WebCore/platform/network/symbian/HttpSessionManager.cpp
changeset 11 c8a366e56285
parent 10 a359256acfc6
child 15 60c5402cb945
equal deleted inserted replaced
10:a359256acfc6 11:c8a366e56285
   310 			m_OutstandingSelfDl = true;
   310 			m_OutstandingSelfDl = true;
   311 			m_SelfDownloadContentHandler->HandleResponseHeadersL(request, response, *connTransaction);
   311 			m_SelfDownloadContentHandler->HandleResponseHeadersL(request, response, *connTransaction);
   312 			RHTTPTransactionPropertySet propSet = connTransaction->PropertySet();
   312 			RHTTPTransactionPropertySet propSet = connTransaction->PropertySet();
   313 			RStringPool stringPool = m_httpSession.StringPool();
   313 			RStringPool stringPool = m_httpSession.StringPool();
   314 
   314 
   315 			RStringF selfDownloadCallbackStr = stringPool.OpenFStringL( KSelfDownloadCallback );
       
   316 			// Add own adress to the transaction properties		
   315 			// Add own adress to the transaction properties		
   317 			propSet.RemoveProperty(selfDownloadCallbackStr);
   316 			propSet.RemoveProperty( stringPool.StringF(HttpFilterCommonStringsExt::ESelfDownloadCallback,
   318 			propSet.SetPropertyL(selfDownloadCallbackStr, ((TInt) (MHTTPTransactionCallback*)m_SelfDownloadContentHandler));
   317                                     HttpFilterCommonStringsExt::GetTable()) );
   319 			if (connection->totalContentSize()) {
   318 			propSet.SetPropertyL( stringPool.StringF(HttpFilterCommonStringsExt::ESelfDownloadCallback,
       
   319                                     HttpFilterCommonStringsExt::GetTable()), 
       
   320                                     ((TInt) (MHTTPTransactionCallback*)m_SelfDownloadContentHandler));
       
   321             if (connection->totalContentSize()) {
   320 				m_SelfDownloadContentHandler->HandleResponseBodyL(*connTransaction);
   322 				m_SelfDownloadContentHandler->HandleResponseBodyL(*connTransaction);
   321 			}
   323 			}
   322 		}
   324 		}
   323     } else {
   325     } else {
   324         m_httpPipelining = false;
   326         m_httpPipelining = false;