[Pidgin] #8356: Jabber Account disconnects after sending animated gif

Pidgin trac at pidgin.im
Fri Feb 6 03:24:16 EST 2009


#8356: Jabber Account disconnects after sending animated gif
---------------------------+------------------------------------------------
 Reporter:  WasserDragoon  |           Owner:  malu            
     Type:  defect         |          Status:  new             
Milestone:                 |       Component:  custom emoticons
  Version:  2.5.4          |      Resolution:                  
 Keywords:                 |   Launchpad_bug:                  
---------------------------+------------------------------------------------

Comment(by malu):

 Replying to [comment:4 WasserDragoon]:
 > Attachment (purple-debug.log) added by ticket reporter.

 Yes, that image is most likely going to cause trouble with most servers,
 because of the size (74 kB).
 F.ex. ejabberd has by default (at least in Debian) a stanza size limit of
 64 kB.
 Taking the BASE64 encoding plus the overhead of the XML tags, this smiley
 would produce a stanza probably around 100 kB
 So for the time being, I suppose the "solution" is to use smaller smileys
 :)
 Ideally, there would be a way for prpls to specify limits for what kind of
 files can be used (I believe this is done for buddy icons).

 A quick "hack" could be to "filter out" the smileys in the jabber prpl
 (ie. not including the markup for the smiley, but the text instead, if the
 file is larger than
 some limit). But this leaves the user without much clue as to why it isn't
 transfered.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8356#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list