summaryrefslogtreecommitdiff
path: root/sys/lib/python/SimpleHTTPServer.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-05-01 00:01:14 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2017-05-01 00:01:14 +0200
commit2713779ee64250b16314355f76cb90d40b64e4b2 (patch)
treed4f2b5925d74f4495da43b4a6aad20c7c96fa7f3 /sys/lib/python/SimpleHTTPServer.py
parentc00c60d327168c25e56077c8310cf2380833e9be (diff)
ip/torrent: avoid requesting same chunks
instead of always just requesting the missing range of the current piece, remember the workpiece offset and request sequential chunks from the workpiece. this avoids double requests of the same ranges when the peer does not respond with the data immidiately.
Diffstat (limited to 'sys/lib/python/SimpleHTTPServer.py')
0 files changed, 0 insertions, 0 deletions