cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: curl/php & CURLOPT_TIMEVALUE

From: Robert Olson <olson_at_mcs.anl.gov>
Date: Mon, 22 Apr 2002 07:01:07 -0500

At 10:01 AM 4/22/2002 +0200, Daniel Stenberg wrote:
>Set CURLOPT_TIMECONDITION to TIMECOND_IFMODSINCE or similar. The docs says we
>default to this comparision, but I'm not so sure that is actually true...

hm. I don't see that there are values for the TIMECOND values (they print
as 0, also don't show up in php/ext/curl). When I try using 1 (which
appears to be the value of TIMECOND_IFMODSINCE in curl.h) it appears to
work properly, but takes a very long time to execute (16 sec).

Hmm. Odd - it appears to take a long time if the time is in the future ...
weird.

Anyway, it looks like things are cool.

thanks,
--bob
Received on 2002-04-22