weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #35966] Infinite wait for connection in hook_connect


From: Sebastien Helleu
Subject: [Weechat-dev] [bug #35966] Infinite wait for connection in hook_connect
Date: Fri, 23 Mar 2012 17:18:00 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0

URL:
  <http://savannah.nongnu.org/bugs/?35966>

                 Summary: Infinite wait for connection in hook_connect
                 Project: WeeChat
            Submitted by: flashcode
            Submitted on: ven. 23 mars 2012 18:17:59 CET
                Category: other
                Severity: 3 - Normal
              Item Group: other
                  Status: In Progress
                 Privacy: Public
             Assigned to: flashcode
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.7
                IRC nick: 

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?35966>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]