------------------------------------------------------------ revno: 2335 committer: eMTee <emte...@gmail.com> branch nick: dcplusplus timestamp: Wed 2010-12-08 21:12:03 +0100 message: Coral retry fix modified: dcpp/HttpConnection.cpp
-- lp:dcplusplus https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk Your team Dcplusplus-team is subscribed to branch lp:dcplusplus. To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dcpp/HttpConnection.cpp' --- dcpp/HttpConnection.cpp 2010-12-03 11:29:33 +0000 +++ dcpp/HttpConnection.cpp 2010-12-08 20:12:03 +0000 @@ -117,9 +117,9 @@ BufferedSocket::putSocket(socket); socket = NULL; if(SETTING(CORAL) && coralizeState != CST_NOCORALIZE) { + fire(HttpConnectionListener::Retried(), this, coralizeState == CST_CONNECTED); coralizeState = CST_NOCORALIZE; dcdebug("HTTP error with Coral, retrying : %s\n",currentUrl.c_str()); - fire(HttpConnectionListener::Retried(), this, coralizeState == CST_CONNECTED); downloadFile(currentUrl); return; } @@ -171,9 +171,9 @@ BufferedSocket::putSocket(socket); socket = NULL; if(SETTING(CORAL) && coralizeState != CST_NOCORALIZE) { + fire(HttpConnectionListener::Retried(), this, coralizeState == CST_CONNECTED); coralizeState = CST_NOCORALIZE; dcdebug("Coralized address failed, retrying : %s\n",currentUrl.c_str()); - fire(HttpConnectionListener::Retried(), this, coralizeState == CST_CONNECTED); downloadFile(currentUrl); return; }
_______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp