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

curl-and-php

Re: Long pretransfer_time w/ SSL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Oct 2002 11:35:23 +0100 (MET)

On Thu, 24 Oct 2002, dietrich ayala wrote:

> Using PHP4.3.0-dev & 4.1.2 on W2K/IIS (company mandate, argh)...
>
> I'm seeing pretransfer_time consistently between 3 - 3.5 seconds when
> accessing a HTTPS address, whether I'm hitting a local address or remote. I
> know that handshake, verification, etc take time, but this seems *very*
> long.
>
> Is this normal?

It seems a bit too slow, but I don't know how (lib)curl can possibly affect
this in any way. The handshake is all OpenSSL's game.

> Are there settings I can tweak to decrease this time?

No. It should always do it as fast as possible.

> Does the php extension support CURLOPT_ENCODE?

I guess you mean CURLOPT_ENCODING. But no, I don't think support has been
added for that.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-28