cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_Easy_perform returns timeout error, although the message is received by the endpoint

From: Lijo Antony <lta_at_one.com>
Date: Sun, 18 Nov 2012 10:24:10 +0400

On 11/17/2012 05:11 AM, Mayank Kumar (mayankum) wrote:
> I have set a timeout of 10 minutes and verified that the message sent by
> the curl_easy_perform reaches the endpoint, but still I don’t know why
> the curl_easy_perform keeps blocked for 10 minute and then returns a
> timeout error. The endpoint returns the response as well
>
> Any hints on how to debug this ?

Libcurl will not conclude that the transfer has finished until it
receives the response from the server. Looks like your remote endpoint
is not sending this response, and libcurl is waiting for this. Capture
the traffic using wireshark to debug.

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