Bug 21616 - Disco requests timeout
Summary: Disco requests timeout
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 08:11 UTC by Sjoerd Simons
Modified: 2019-12-03 19:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sjoerd Simons 2009-05-07 08:11:01 UTC
Hi,

  Under some circumstances (heavy traffic, slow/dodgy network, etc) disco 
  requests from gabble time out. Not a big issues as it prevents the disco 
  pipeline from stalling. The downside is that gabble thinks the reply that 
  comes in later is an unknown iq and drops it, while it should use it to 
  learn which features correspond to a certain hash and use that to update the 
  capabilities.

  Sjoerd
Comment 1 Will Thompson 2009-08-20 05:28:05 UTC
The point of requests timing out is so that we don't wait indefinitely for
someone's caps to arrive, and so that we can send the disco request to another
contact who might reply sooner. But there are several different levels of
timing out that we could split up something like this:

» after l seconds, see if we can send the same disco request to a different
contact (who might answer sooner);
» after m seconds, if we're waiting on these caps to start a call, give up;
» after n seconds, stop waiting for the reply (to keep memory usage bounded).

This would be similar to how vCard requests were recently made to time out more
slowly.
Comment 2 GitLab Migration User 2019-12-03 19:19:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/31.


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.