[JDEV] yahoo transport with problems

Ron Smits rons at ronsmits.com
Tue Jan 15 11:08:22 CST 2002


Evening,
I have a large buddy list in yahoo and have been running my jabber
server for quite some time now. So every now and then gabber will die
unexpectedly. First I thought it was gabber. But hunting down the error
showed me that in fact it is due to one of the first packages yahoo
sends me concerning the people how are online. 
A packet will come in and the possiblility is there that the buffer
allocated for it is not big enough. In the output below you will see
that I re-switched on some debug that prints the length of the buffer
this is all in libyahoo.c 
I traced the calls down to the mio_new call where the handle_read from
the yahoo transport is added to the mio loop. But for the life of me, I
cannot find where the buffer is allocated so I can also not check if
increasing this buffer will actually help me in solving this problem

Any ideas here?

Ron Smits
rons at ronsmits.org

root at swallow:/usr/local/jabber-1.4.1/jabberd# ./jabberd 
20020115T17:57:32: [notice] (yahoo.ronsmits.org): yahoo-transport
starting up...
20020115T17:57:32: [notice] (irc.ronsmits.org): IRC Transport starting
up...
20020115T17:57:46: [notice] (yahoo.ronsmits.org): Session started for
ron at ronsmits.org/Gabber as user 
20020115T17:57:46: [notice] (yahoo): inserting primary
ron at ronsmits.org/Gabber into ppdb for session ron at ronsmits.org/Gabber
20020115T17:57:48: [notice] (yahoo): inserting secondary
ron at ronsmits.org/Gabber into ppdb for session ron at ronsmits.org/Gabber
20020115T17:57:48: [notice] (yahoo): [auth] (ron at ronsmits.org/Gabber)
switching status (0) -> ((null))
contentlen = 891
buffer not big enough for contentlen
contentlen = 891
contentlen = 44
contentlen = 30
contentlen = 37
contentlen = 34





More information about the JDev mailing list