curl-library
Re: [PATCH] getinfo.c: reset timecond when clearing session-info variables
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 22 Apr 2013 00:08:26 +0200 (CEST)
Date: Mon, 22 Apr 2013 00:08:26 +0200 (CEST)
On Sat, 20 Apr 2013, Alessandro Ghedini wrote:
> The attached test case does two requests: the first with TIMEVALUE set into
> the future so CURLINFO_CONDITION_UNMET reports "1" after, the second with
> TIMEVALUE in the past, but CURLINFO_CONDITION_UNMET still reports "1". If
> the first request is commented out the CURLINFO_CONDITION_UNMET of the
> remaining request reports correctly "0".
>
> Also attached is the patch that should fix this.
Thanks! Any chance you can convert the test case into a "proper" libcurl test
case for inclusion in the curl test suite to avoid future regressions on this?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-04-22