diff -r b16258d2340f -r 5ee1d9ce5878 applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp --- a/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp Tue Feb 02 01:09:52 2010 +0200 +++ b/applayerpluginsandutils/httpprotocolplugins/httpclient/chttpconnectionmanager.cpp Fri Feb 19 23:50:57 2010 +0200 @@ -1348,10 +1348,10 @@ } } -void CHttpConnectionManager::InsertPipelineFailedHost(const TDesC8& aHost) - { - iPipelineFallback.InsertPipelineFailedHost(aHost); - } +void CHttpConnectionManager::AppendPipelineFailedHost(const TDesC8& aHost) + { + iPipelineFallback.AppendPipelineFailedHost(aHost); + } CHttpHostElement* CHttpHostElement::New(const TDesC8& aHost) @@ -1441,6 +1441,26 @@ } } + + void CHttpPipelineFallback::AppendPipelineFailedHost(const TDesC8& aHost) + { + // Already failed. no need to check further. + if(NeedPipelineFallback(aHost)) + { + return; + } + + // Failure doesn't matter here. + HBufC8* host = aHost.Alloc(); + if(host == NULL) + { + return; + } + + iPipelineFailedHosts.Append(host); // no error checking as failure does not matter + // we will keep going. + } +