#3167: tracker_icons.py does not clean up /tmp entries from failed hosts
---------------------------------+----------------------------
Reporter: rexar | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 1.3.15
Keywords: icons tracker_icons |
---------------------------------+----------------------------
If Deluge attempts to obtain a tracker icon for a tracker that is
unreachable, or has a re-direct to self (perpetual HTTP 301/302) the
errorback routines in tracker_icons.py do not have access to the temporary
filehandles / paths created as part of the download_page method, and as
such is unable to clean up these pre-allocated resources.
Over a period of time under Linux, this fills the /tmp directory with a
large amount of junk files in the form of deluge_ticon.xxxxx
Attached is a workaround targetting the 1.3.15 release version of
tracker_icons.py which allows the errorback routines to clean files
allocated from failed attempts.
This was developed against my scenario which is the GTK client connecting
to a remote server, it hasn't been tested for other use cases.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3167>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.