cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH 1/2] eliminate a race condition in Curl_resolv_timeout()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 2 Apr 2010 16:48:36 +0200 (CEST)

On Fri, 2 Apr 2010, Kamil Dudka wrote:

> If the timeout hasn't occurred in Curl_resolv(), we may uninstall the signal
> handler, before we deactivate the still running alarm. The attached patch
> should fix it.

Looks fine to me!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-02