[Pidgin] #10495: Sometimes I'm not receiving all MSN messages

Pidgin trac at pidgin.im
Thu Aug 11 10:12:31 EDT 2011


#10495: Sometimes I'm not receiving all MSN messages
--------------------------+-------------------------------------------------
 Reporter:  gal_ga        |        Owner:  QuLogic
     Type:  defect        |       Status:  new    
Milestone:                |    Component:  MSN    
  Version:  2.6.2         |   Resolution:         
 Keywords:  lost message  |  
--------------------------+-------------------------------------------------

Comment(by starkwong):

 I think I figure it out, there is a weird block in servconn.c starting
 from line 268:


 {{{
         if (servconn->session->http_method)
         {
                 /* Fake disconnection. */
                 if (servconn->disconnect_cb != NULL)
                         servconn->disconnect_cb(servconn);

                 return;
         }
 }}}

 Is calling disconnect_cb correct? It does perform an actual disconnect and
 lead to that problem!
 If I comment that block, the connection won't break and can keep for at
 least 10 mins. I don't know if this behavior is correct, but the miss
 message problem does go away (both sides keep the connection
 continuously).

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


More information about the Tracker mailing list