cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTPS CURL get slow when calling at first time

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 26 Nov 2012 14:12:46 +0100 (CET)

On Mon, 26 Nov 2012, sagar hagawne wrote:

> I am using a CURL version 7.27.0 and passing the url using HTTPS but
> the first call to the curl_easy_perform(curl) is very very slow, but all
> subsequent calls are fast the problem seems to be anything to be
> initialization of CURL handle or seems need to connect to socket and wait to
> open an interface.

If I were to guess, I'd say that the problem is most likely a weird and slow
network setup, firewall or NAT in your network environment.

If you want more than blind guesses, you need to provide more data and logs.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-26