Skip to content

Fix broken zeroconf on Windows Fixes #8448, #8473

Philipp Hörist requested to merge lovetox/gajim:gajim_0.16 into gajim_0.16
  • resolved_info tuple now has a Range of 6, like the resolved_info tuple in zeroconf_avahi, so now we can use the global vars from zeroconf.py without getting tuple index out of range see #8448 (closed)

  • with avahi the hostname is resolved to an IP, with bonjour we didnt do this. We got the IP with socket.getaddrinfo() in client_zeroconf.py. This didnt work correctly for some reason i didnt investigate. Now we get the IP with bonjour.

  • Added a own logging domain and more debug output on errors.

  • Catch 'ServiceNotRunning' Error Fixes #8473 (closed)

  • Disconnect local account on 'ServiceNotRunning'

  • Query TXT Records with DNSServiceQueryRecord, as it is suggested in the pybonjour documentation, as it is more efficient

Merge request reports