[Pidgin] #1602: signal to force reconnect? why not SIGHUP?

Pidgin trac at pidgin.im
Fri Jun 8 22:09:27 EDT 2007


#1602: signal to force reconnect? why not SIGHUP?
--------------------------+-------------------------------------------------
 Reporter:  amishmm       |       Type:  enhancement
   Status:  new           |   Priority:  minor      
Component:  pidgin (gtk)  |    Version:  2.0.1      
 Keywords:                |    Pending:  0          
--------------------------+-------------------------------------------------
 When pidgin receives SIGHUP it disconnects all active accounts. Most
 programs/daemons normally use SIGHUP for reloading, so I wonder why pidgin
 doesn't work the same way. I think it should automatically reconnect after
 disconnection.

 Why I need this is as follows:[[BR]]
 I use ADSL connection and connection is via pppd. Sometimes ADSL signal is
 lost and connection is dropped and auto-reconnected. But since my IP
 address changes pidgin's active connection no longer work. Pidgin,
 however, does timeout after read error and reconnect but timeouts are
 long. So if SIGHUP (or SIGUSR1) can be assigned to re-connect all
 connection I could simply put:

 killall -HUP pidgin

 in if-up script and pidgin wud reconnect.

 I am sure many people wud want this behaviour.

 Thank you

 I use FC6

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1602>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list