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

 
 

bug #35966: Infinite wait for connection in hook_connect

Submitted by:  Sebastien Helleu <flashcode>
Submitted on:  Fri 23 Mar 2012 05:17:59 PM UTC  
 
Category: otherSeverity: 3 - Normal
Item Group: otherStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.7IRC nick: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 03 Jun 2012 08:20:54 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Fri 23 Mar 2012 05:25:44 PM UTCflashcodeStatusIn Progress=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1