[Bug 24344] New: Add well-known bundles and our own caps to cache, and serve disco responses from it

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 6 14:38:54 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24344

           Summary: Add well-known bundles and our own caps to cache, and
                    serve disco responses from it
           Product: Telepathy
           Version: unspecified
          Platform: Other
               URL: http://git.collabora.co.uk/?p=user/wjt/telepathy-gabble-
                    wjt.git;a=shortlog;h=refs/heads/improve-caps-cache
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk


We shouldn't need to disco the Google Talk clients' many many caps bundles:
either we already know what they mean, or we don't care about them. We also
should cache what the caps hashes we publish mean, to stop us discoing anyone
else (possibly even ourself!) with the same hash. Finally, we should remember
our past caps hashes, and respond to disco requests for them, both to be a
better-behaved client and to work around an iChat bug.

The attached branch, 'improve-caps-cache', fixes these issues. While working on
it, I worried briefly that caching all of our past caps hashes is a memory
leak, and realised that it's a moot point because we cache every hash we see
from contacts too. :)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list