DHT can not be completely disabled

Bug #313549 reported by Christophe Dumez
4
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
Invalid
Unknown
qBittorrent
Fix Released
High
Christophe Dumez

Bug Description

I need this due to using ratio-based trackers.
Thanks.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

There is a first issue:
- DHT is started on restart althought we don't want it too. I will make a quick fix for this (but I will report a bug in libtorrent too because I believe it should not start DHT without telling us)
- DHT is started when a new torrent is added (I did not test this one yet). If it is confirmed, then I will report a bug in libtorrent.

Changed in qbittorrent:
assignee: nobody → hydr0g3n
importance: Undecided → High
milestone: none → 1.3.0
status: New → Confirmed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

As promised. I commited a fix for the first issue. I now force DHT to stop on startup if the user disabled it.

Concerning the second problem, I was not able to reproduce it. I tried the following:
- go to preferences and uncheck DHT support
- Save preferences (DHT nodes immediately felt down to 0)
- Add several torrents and wait a few minutes
--> DHT Nodes is still 0

Could you help me reproduce this second problem?

Changed in libtorrent-rasterbar:
status: Unknown → New
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

You reported earlier that DHT is started whenever a torrent is added. I cannot reproduce this bug after my recent fixes. Feel free to reopen this bug in case you experience the problem again.

Thanks.

Changed in qbittorrent:
status: Confirmed → Fix Committed
Changed in libtorrent-rasterbar:
status: New → Invalid
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

v1.3.0 is out of its cage.

Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.