#5018 NORM Never A: reduce gabble's stanza size for IBB packets

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 20 13:59:51 EST 2007


#5018: reduce gabble's stanza size for IBB packets
-------------------------------+--------------------------------------------
  Reporter:  robot101          |       Owner:  robot101      
      Type:  task              |      Status:  assigned      
  Priority:  normal            |   Milestone:  Never Assigned
 Component:  telepathy-gabble  |     Version:                
Resolution:                    |    Keywords:  Update.1?     
  Verified:  0                 |  
-------------------------------+--------------------------------------------
Changes (by robot101):

 * cc: kimquirk (added)
  * owner:  gdesmott => robot101
  * status:  new => assigned


Comment:

 I've added a proposed patch, on the basis that base64 produces 4 bytes of
 output for 3 bytes of input, it adds a 33% overhead. The maximum stanza
 size is 64k in ejabberd by default, so I've set the input block size to
 45k, which will yield a maximum of 60k after base64 encoding, and allow 4k
 for the XML encapsulation.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5018#comment:1>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list