UPnP SSDP server reserves socket exclusively

Bug #232651 reported by Frank Scholz
2
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
Low
Philippe Normand

Bug Description

The call of reactor.listenMulticast in [https://core.fluendo.com/elisa/trac/browser/trunk/extern/upnp/ssdp.py#L38 upnp/ssdp.py] reserves the socket exclusively, resulting in failure of other upnp software on the same system, e.g. a media server.[[BR]]
Or failure of whatever is using the ssdp.py module, if another ssdp server is running already.

Changing this to

port = reactor.listenMulticast(SSDP_PORT, self, listenMultiple=True)

will solve this issue.

Ciao,[[BR]]
dev

Revision history for this message
Philippe Normand (philn) wrote :

(In [672]) * extern/upnp/ssdp.py:
        Make the SSDP socket not exclusive, allowing other programs to run
        on the same port. Closes #96

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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