aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-22 22:00:55 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-03-22 22:00:55 +0100
commitd4cd5411a66d6814adccdfc81ff1d8a80e8c58af (patch)
tree44e623b775efddca71a716183d4c4007263bf711 /CHANGES
parent6657f12fff9e7b14e56da3790f0a271989c8b6a2 (diff)
Thomas Lopatic fixed the alarm()-based DNS timeout
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES13
1 files changed, 13 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 02d7b2753..8d812727f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,19 @@
Changelog
+Daniel Stenberg (22 Mar 2010)
+- Thomas Lopatic fixed the alarm()-based DNS timeout:
+
+ Looking at the code of Curl_resolv_timeout() in hostip.c, I think that in
+ case of a timeout, the signal handler for SIGALRM never gets removed. I
+ think that in my case it gets executed at some point later on when execution
+ has long left Curl_resolv_timeout() or even the cURL library.
+
+ The code that is jumped to with siglongjmp() simply sets the error message
+ to "name lookup timed out" and then returns with CURLRESOLV_ERROR. I guess
+ that instead of simply returning without cleaning up, the code should have a
+ goto that jumps to the spot right after the call to Curl_resolv().
+
Kamil Dudka (22 Mar 2010)
- Douglas Steinwand contributed a patch fixing insufficient initialization in
Curl_clone_ssl_config()