Patches item #2880462, was opened at 2009-10-16 12:37
Message generated for change (Settings changed) made by wimpunk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=676130&aid=2880462&group_id=116817
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Panos (roeften)
Assigned to: Nobody/Anonymous (nobody)
Summary: ddclient hangs forever under some circumstances
Initial Comment:
ddclient may hang if the read operation on the connection to get the ip (in sub geturl) 'blocks'.
This happened when ddclient was trying to retrieve the ip from my modem at a time of frequent disconnections. ddclient would block there forever.
I have look through the code and perldoc and I believe I found a solution. Please see the patch attached.
I believe there is a related bug 2113169 however I could not find a way to upload the patch there. Apologies for the duplication.
Thanks.
----------------------------------------------------------------------
>Comment By: wimpunk (wimpunk)
Date: 2009-11-09 20:31
Message:
It took me a while but your patch has been added as rt took me a while but
your patch has been added as r114: Added prevent-hang patch (2880462)
submitted by Panos
----------------------------------------------------------------------
Comment By: Panos (roeften)
Date: 2009-10-22 08:44
Message:
I've uploaded a patch against the trunk as suggested.
----------------------------------------------------------------------
Comment By: wimpunk (wimpunk)
Date: 2009-10-19 08:35
Message:
Could you create your patch file with `diff -Naur` against either the
current svn version (preferred) or against the latest release
(ddclient-3.8.0)? It will be easier for us to apply.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=676130&aid=2880462&group_id=116817
|