curl-and-php
Re: CURL HTTP request Timeout
Date: Mon, 18 Apr 2011 18:55:18 +0530
Hi Daniel,
I am just attaching a CURL time info for a Request that took a longer time. So that you might be able to guess what could be the issue.
<total_time>372.533516</total_time>
<namelookup_time>2.2E-5</namelookup_time>
<connect_time>3.149794</connect_time>
<pretransfer_time>3.302845</pretransfer_time>
<starttransfer_time>372.533497</starttransfer_time>
<redirect_time>0</redirect_time>
regards,
Kuberan Marimuthu
On 18-Apr-2011, at 6:12 PM, Daniel Stenberg wrote:
> On Mon, 18 Apr 2011, Kuberan Marimuthu wrote:
>
>> curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.6.2 zlib/1.2.3 libidn/0.6.5 libssh2/1.2.2
>> Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
>> Features: GSS-Negotiate IDN IPv6 Largefile SSL libz
>
> So this is using synchronous name resolves: http://curl.haxx.se/docs/faq.html#How_does_libcurl_resolve_host_na
>
> Depending on what your code does, this may very well cause problems and slow operations in your code.
>
> --
>
> / daniel.haxx.se
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2011-04-18