diff -r 1f3c3f2f5b0a -r c711bdda59f4 browserutilities/downloadmgr/DownloadMgrServEng/Src/HttpClientAppInstance.cpp --- a/browserutilities/downloadmgr/DownloadMgrServEng/Src/HttpClientAppInstance.cpp Mon Mar 15 12:44:50 2010 +0200 +++ b/browserutilities/downloadmgr/DownloadMgrServEng/Src/HttpClientAppInstance.cpp Wed Mar 31 23:16:40 2010 +0300 @@ -560,6 +560,23 @@ case EDlMgrConnectionName: { iConnHandler->SetConnectionNameL( aValue ); + //resume Download if paused by OCC + CArrayPtrFlat* downloads = iClientApp->Downloads(); + + for( TInt i = 0; i < downloads->Count() ; ++i ) + { + if( (*downloads)[i]->ClientAppInstance() == this ) + { + // this won't surely leave on this call + if((*downloads)[i]->GetRetryFlag()) + { + TRAP_IGNORE( (*downloads)[i]->StartL() ); + (*downloads)[i]->SetRetryFlag(EFalse); + } + + } + } + } break;