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; |