[Pidgin] #9649: no automatic reconnect after sleep

Pidgin trac at pidgin.im
Wed Jul 29 11:47:40 EDT 2009


#9649: no automatic reconnect after sleep
--------------------+-------------------------------------------------------
 Reporter:  heinz   |        Owner:  datallah       
     Type:  defect  |       Status:  pending        
Milestone:          |    Component:  winpidgin (gtk)
  Version:  2.5.8   |   Resolution:                 
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by darkrain42):

  * status:  new => pending


Comment:

 Could you compare your code to the stuff in
 [http://developer.pidgin.im/viewmtn/revision/file/0b43c5f05ed84d95790b3c5370f905758358e36e/libpurple/network.c
 network.c] (wpurple_network_change_thread) and try modifying it to see if
 we can narrow down where the issue is?

 The two changes that stick out to me are:
   * You set the LUP_RETURN_ALL flag in the call to
 `WSALookupServiceBegin()`
   * You have no 30 second timer in the middle (N.B. its location after the
 `WSANSPIoctl()` and before the `WaitForSingleObjectEx()`).

 Please try adding in those changes one-at-a-time and testing so we can
 figure out where the issue is.

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


More information about the Tracker mailing list