#2313: the "Test Active Port" functionality doesn't honor listen_interface
parameter
-------------------+--------------------------------------------------------
Reporter: errge | Owner:
Type: bug | Status: new
Priority: minor | Milestone: Future
Component: core | Version: git master
Keywords: |
-------------------+--------------------------------------------------------
The test_listen_port function in core.py just calls "from
twisted.web.client import getPage" without specifying listen_interface as
bindAddress. Therefore in a multi ISP setting, where deluge beautifully
works the thanks to the listen_interface setting, the testing
functionality warns the user that the port is not open, while in reality
it is.
I'm not attaching a patch, because the fix is unfortunately not very
simple, since the simple getPage twistedweb API is not twisted enough to
support bindAddress, only the more complicated (twisted?) Agent APi
supports that functionality. So either someone has to add bindAddress to
getPage or rewrite this test_listen_port function to use
twisted.web.client.Agent.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2313>
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 http://groups.google.com/group/deluge-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.