logo       

CVS: BitTorrent/BitTorrent Rerequester.py,1.14,1.15 download.py,1.130,1.131: msg#00171

network.bit-torrent.general

Subject: CVS: BitTorrent/BitTorrent Rerequester.py,1.14,1.15 download.py,1.130,1.131

Update of /cvsroot/bittorrent/BitTorrent/BitTorrent
In directory sc8-pr-cvs1:/tmp/cvs-serv17510/BitTorrent

Modified Files:
Rerequester.py download.py
Log Message:
bug fix


Index: Rerequester.py
===================================================================
RCS file: /cvsroot/bittorrent/BitTorrent/BitTorrent/Rerequester.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Rerequester.py 25 Mar 2003 08:32:18 -0000 1.14
--- Rerequester.py 25 Mar 2003 08:39:37 -0000 1.15
***************
*** 13,17 ****
def __init__(self, url, interval, sched, howmany, minpeers,
connect, externalsched, amount_left, up, down,
! port, ip, myid, infohash, timeout, errorfunc):
self.url = ('%s?info_hash=%s&peer_id=%s&port=%s' %
(url, quote(infohash), quote(myid), str(port)))
--- 13,17 ----
def __init__(self, url, interval, sched, howmany, minpeers,
connect, externalsched, amount_left, up, down,
! port, ip, myid, infohash, timeout, errorfunc, maxpeers):
self.url = ('%s?info_hash=%s&peer_id=%s&port=%s' %
(url, quote(infohash), quote(myid), str(port)))
***************
*** 32,35 ****
--- 32,36 ----
self.timeout = timeout
self.errorfunc = errorfunc
+ self.maxpeers = maxpeers
self.last_failed = true
self.sched(self.c, interval / 2)

Index: download.py
===================================================================
RCS file: /cvsroot/bittorrent/BitTorrent/BitTorrent/download.py,v
retrieving revision 1.130
retrieving revision 1.131
diff -C2 -d -r1.130 -r1.131
*** download.py 25 Mar 2003 08:32:18 -0000 1.130
--- download.py 25 Mar 2003 08:39:38 -0000 1.131
***************
*** 250,254 ****
rawserver.external_add_task, storagewrapper.get_amount_left,
upmeasure.get_total, downmeasure.get_total, listen_port,
! config['ip'], myid, infohash, config['http_timeout'], errorfunc)
DownloaderFeedback(choker, rawserver.add_task, statusfunc,
upmeasure.get_rate, downmeasure.get_rate, ratemeasure.get_time_left,
--- 250,254 ----
rawserver.external_add_task, storagewrapper.get_amount_left,
upmeasure.get_total, downmeasure.get_total, listen_port,
! config['ip'], myid, infohash, config['http_timeout'], errorfunc,
config['max_initiate'])
DownloaderFeedback(choker, rawserver.add_task, statusfunc,
upmeasure.get_rate, downmeasure.get_rate, ratemeasure.get_time_left,



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
BitTorrent-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise