Bug 21616 - Disco requests timeout
Summary: Disco requests timeout
Status: NEW
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: 2009-08-20 05:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


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.