+++ This bug was initially created as a clone of Bug #24353 +++ Wocky should probably give up after a while if the connection process isn't going anywhere. Gabble does this in 0.8, but not in 0.9 because I think the XMPP library should do it.
One option would be to use new GLib method g_socket_set_timeout(). The GSocket object can be retrieved from the GSocketConnection. Second option would be to do nothing and let Gabble use a GCancellable along with g_timeout_add(). Any preferences ?
> One option would be to use new GLib method g_socket_set_timeout(). The GSocket > object can be retrieved from the GSocketConnection. Unfortunately this isn't enough for some cases. I've seen captive portals that "accept" the XMPP connection, happily read the data we send, and drop it on the floor. So we need to use a higher-level timeout. > Second option would be to do nothing and let Gabble use a GCancellable along > with g_timeout_add(). I think the library should do this, particularly since it's made more complicated by our support for interactive authentication...
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.