Page 1 of 1

Deluge 1.3.6 http tracker announcement bugs

Posted: Sat Mar 01, 2014 7:40 pm
by simpleuser
Hello, this is my first post, sorry for my broken English.

I found a couple of bugs regarding http tracker announcement in Deluge 1.3.6 for Windows. I used: Windows 7, a torrent with public http tracker and Wireshark. This is what I found:
1. In some situations Deluge announces tracker for a paused torrent. For example: when Deluge is started it announces paused torrent, after the tracker is edited Deluge announces paused torrent.
2. For 100% complete torrent Deluge's first announce (with "event=started") have "left" field with full bytes size of the torrent. I believe it should be "left=0" for complete torrent. Next announcement (refresh) is with "left=0". This may cause problems with some http private trackers.
3. When I close Deluge without pausing a torrent first, it tries to announce the tracker but closes too soon, so that final announce with "event=stopped" isn't sent and in case of private http tracker, stats aren't updated. I see in Wireshark that Deluge tries to establish connection (SYN sent, two SYN ACKs received from the tracker), but it closes before the connection is made and announce is sent.