cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTPS CURL get slow when calling at first time

From: <gokhansengun_at_gmail.com>
Date: Tue, 27 Nov 2012 23:59:51 +0200

>
> Another big potential source of latency on startup is the DNS lookup. A
> few bad DNS servers in the lookup path, or a misconfigured name service
> switch config could potentially add up to 40 seconds of delay.
> Subsequent connects wouldn't see that delay because the results would be
> cached for a while.

According to the logs, client resolves the ip and connects to 443 port w/o delay. it is the start of ssl handshake failing to kick of for a long time.

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