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

curl-and-php

Re: curl/php & CURLOPT_TIMEVALUE

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 22 Apr 2002 14:27:21 +0200 (MET DST)

On Mon, 22 Apr 2002, Robert Olson 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)

I trust that others would appreciate if you would correct this problem and
mail a patch to Sterling or the other PHP development guys. This is a
CURL/PHP-specific flaw.

> it appears to work properly, but takes a very long time to execute (16
> sec).

I can't see how curl or the presense of this header in the request can affect
the timing any significant way.

> Anyway, it looks like things are cool.

Goodie!

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-22