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/
_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev