|
|
|
|
|
enqueue_request(self,
connection,
file,
downloader,
file_num,
httpreq,
pieces_needed)
Add a new download request to the queue of those waiting for
pieces. |
source code
|
|
|
|
process_queue(self)
Process the queue of waiting requests. |
source code
|
|
(int, string, dictionary,
string)
|
|
|
|
|
(int, string, dictionary,
string)
|
get_cached(self,
connection,
path,
headers,
httpreq)
Proxy the (possibly cached) download of a file from a mirror. |
source code
|
|
|
|
|
(int, string, dictionary,
string)
|
|
|
|
|
|
|
|
(int, string, dictionary,
string)
|
|
(int, string, dictionary,
string)
|
get(self,
connection,
path,
headers,
httpreq)
Respond to a GET request. |
source code
|
|
|
|
read_ip_lists(self)
Periodically parse the allowed and banned IPs lists. |
source code
|
|
|
DebTorrent.HTTPCache.HTTPCache
|
Cache
the cache of downloaded files
|
|
Filter.Filter
|
Filter
not used
|
boolean
|
allow_get
whether downloading of torrent files is allowed
|
|
DebTorrent.subnetparse.IP_List
|
allowed_IPs
the IPs that are allowed to connect, or None if all are
|
int
|
allowed_ip_mtime
the last modification time of the allowed IPs file
|
|
DebTorrent.iprangeparse.IP_List
|
banned_IPs
the IPs that are not allowed to connect
|
int
|
banned_ip_mtime
the last modification time of the banned IPs file
|
dictionary
|
cache_waiting
the pending HTTP get requests that are waiting for download from
the cache.
|
dictionary
|
config
the configuration parameters
|
string
|
favicon
file containing x-icon data
|
|
DebTorrent.launchmanycore.LaunchMany
|
handler
the download handler to use
|
int
|
parse_ip_files
seconds between reloading of the lists of allowed and banned
IPs
|
|
DebTorrent.RawServer
|
rawserver
the server to use for scheduling
|
dictionary
|
request_queue
the pending HTTP package requests that are waiting for
download.
|
dictionary
|
state
the current state information for the tracking
|
boolean
|
uq_broken
whether URL quoting of '+' is broken
|