The DNS entry of the server we are attempting to connect to does not have a SRV record for _xmpp-client._tcp, which causes the connection to hang indefinitely. This allows passing an option to disable that functionality. #124 also works for me, but if the hostname lookup fails I do not want to try SRV next since it seems to hang. Threading these options through was a bit difficult, so let me know if you think it should be done in a different way. It also looks like route_filter was not properly being threaded through to the lookup service, so I modified that as well. Thanks!
The DNS entry of the server we are attempting to connect to does not have a SRV record for
_xmpp-client._tcp
, which causes the connection to hang indefinitely. This allows passing an option to disable that functionality. #124 also works for me, but if the hostname lookup fails I do not want to try SRV next since it seems to hang. Threading these options through was a bit difficult, so let me know if you think it should be done in a different way. It also looks likeroute_filter
was not properly being threaded through to the lookup service, so I modified that as well. Thanks!