Summary: | Time out connection process after a minute (or so) | ||
---|---|---|---|
Product: | Wocky | Reporter: | Will Thompson <will> |
Component: | General | Assignee: | Sjoerd Simons <sjoerd> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 24353 | ||
Bug Blocks: |
Description
Will Thompson
2009-11-09 10:37:12 UTC
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.