curl-library
Re: HTTPS CURL get slow when calling at first time
Date: Tue, 27 Nov 2012 18:58:12 +0530
> > 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.
>
> here is some logs Attached in mail.
I cleaned them up for you.
>
> our_https_log_1.txt: the first communication to our https server
> our_https_log_2.txt: the second communication to our https server
> gmail_https_log_1.txt: the first communication to gmail server
> gmail_https_log_2.txt: the second communication to gmail server
>
> In our first file, there is a gap of time from 15:29:00 and 15:29:23 (23
> seconds).
> In gmail first file, there is a gap of time from 16:07:13 and 16:07:37
> (24 seconds).
>
> ***By the way, 74.125.225.118 is an IP for gmail. I used it versus a
> hostname because the IP kept changing for gmail.
>
> But in the second file, at the exact same spot in the logs, it's less
> than a second difference.
>
>
Thanks,
Sagar
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/zip attachment: https-logs.zip