Peter Surda
ca7becb921
- in corner cases, download request could have contained an incorrect request length. I haven't actually checked if this can be triggered though - wait for downloading until anti intersection delay expires. Doesn't necessarily mean that it will always avoid peer's anti intersection delay, but it's close enough - tracks last time an object was received. If it was too long time ago, reset the download request queue. This avoid situations like when a request gets ignored during the anti intersection delay, but it will keep thinking there are still pending requests as long as not all missing objects have been requested. This caused staggered download (request 1000 items, wait 1 minute, request 1000 more, wait another minute, ...) - with these fixes, you should end up downloading as fast as your network and CPU allow - best tested with trustedpeer |
||
---|---|---|
.. | ||
__init__.py | ||
addrthread.py | ||
advanceddispatcher.py | ||
announcethread.py | ||
asyncore_pollchoose.py | ||
bmobject.py | ||
bmproto.py | ||
connectionchooser.py | ||
connectionpool.py | ||
dandelion.py | ||
downloadthread.py | ||
http-old.py | ||
http.py | ||
httpd.py | ||
https.py | ||
invthread.py | ||
networkthread.py | ||
node.py | ||
objectracker.py | ||
proxy.py | ||
receivequeuethread.py | ||
socks4a.py | ||
socks5.py | ||
stats.py | ||
tcp.py | ||
tls.py | ||
udp.py |