bugWeeChat - Bugs: bug #35966, Infinite wait for connection in...


bug #35966: Infinite wait for connection in hook_connect

Submitter:  Sebastien Helleu <flashcode>
Submitted:  Fri 23 Mar 2012 05:17:59 PM UTC
Category:  other Severity:  3 - Normal
Item Group:  other Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.7 IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup

Fri 23 Mar 2012 05:17:59 PM UTC, original submission:  

In rare cases of network problems, the hook_connect will wait indefinitely for the child process to connect to remote host.

Solution: add a timer for connection, and kill child if the timer is reached, and return an error code with timeout to callback. Then plugins like irc will be notified of a timeout, and will try to reconnect later to server.

Sebastien Helleu <flashcode>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-03 flashcode Open/ClosedOpen Closed
    2012-03-23 flashcode StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code