#1681: Add support for announce_ip (and all other libtorrent settings) to 
deluged
----------------------------------------------+-----------------------------
 Reporter:  gkuenning                         |       Owner:        
     Type:  patch                             |      Status:  new   
 Priority:  major                             |   Milestone:  Future
Component:  core                              |     Version:  1.3.0 
 Keywords:  announce_ip, libtorrent settings  |  
----------------------------------------------+-----------------------------
 The announce_ip feature is critical for certain situations; without it
 deluge is unusable as a seeder when both it and the tracker are behind the
 same NAT box.  Fortunately, libtorrent already supports the feature, so it
 just needs to be added to deluge.

 The enclosed patch adds a new switch to deluged: --libtorrent NAME=VALUE.
 This can be used to set announce_ip as well as all other libtorrent
 options.

 Caveats: (1) To make this work, I had to change announce_ip's C++ type
 from address to std::string, because I don't know enough about Python
 Boost wrappers to write a proper wrapper for address.  I believe that
 change to be harmless because AFAIK this libtorrent is only used inside
 deluge.  (2) I didn't add any support for setting libtorrent options in
 the config file.  There were several reasons for this choice, including
 the complexity of doing so, but the main one is that it doesn't seem to
 make sense to set announce_ip dynamically because the announcement will
 have already been made incorrectly.

-- 
Ticket URL: <https://dev.deluge-torrent.org/ticket/1681>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to