[Pidgin] #12862: resolved in dnssrv not firing callback if the dns read fails

Pidgin trac at pidgin.im
Mon Nov 15 11:15:15 EST 2010


#12862: resolved in dnssrv not firing callback if the dns read fails
-------------------------+--------------------------------------------------
 Reporter:  elo8841      |        Owner:           
     Type:  defect       |       Status:  pending  
Milestone:               |    Component:  libpurple
  Version:  2.7.5        |   Resolution:           
 Keywords:  xmpp dnssrv  |  
-------------------------+--------------------------------------------------
Changes (by elo8841):

  * status:  pending => new


Comment:

 I am using libpurple alone and it is hard for me to get the debug log.
 basically a gloop fires events in my code (including libpurple events), so
 my code was busy handling other events and the read from the pipe is lost.
 Basically this line failed in resolved in dnssrv.c:

 if (read(source, &type, sizeof(type)) == sizeof(type))

 thus the callback is never fired.

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


More information about the Tracker mailing list