mirror of https://github.com/aria2/aria2
2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that HAVE message is not sent for a piece they are downloaded fom http/ftp server before any BitTorrent handshake is done with peers. * src/DefaultBtInteractive.ccpull/1/head
parent
deff272435
commit
897ab7321f
|
@ -1,3 +1,10 @@
|
|||
2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Fixed the bug that HAVE message is not sent for a piece they are
|
||||
downloaded fom http/ftp server before any BitTorrent handshake is done
|
||||
with peers.
|
||||
* src/DefaultBtInteractive.cc
|
||||
|
||||
2008-02-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Removed RequestInfo.h and FileAllocator.h since they have been removed.
|
||||
|
|
|
@ -127,8 +127,8 @@ BtMessageHandle DefaultBtInteractive::receiveAndSendHandshake() {
|
|||
}
|
||||
|
||||
void DefaultBtInteractive::doPostHandshakeProcessing() {
|
||||
// TODO where is the valid place to rest haveCheckTime?
|
||||
haveCheckPoint.reset();
|
||||
// Set time 0 to haveCheckPoint to cache http/ftp download piece completion
|
||||
haveCheckPoint.setTimeInSec(0);
|
||||
keepAliveCheckPoint.reset();
|
||||
floodingCheckPoint.reset();
|
||||
_pexCheckPoint.setTimeInSec(0);
|
||||
|
|
Loading…
Reference in New Issue