cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3478793 ] How to differ a connection timeout from a download timeout ?

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 24 Jan 2012 13:09:55 -0800

Bugs item #3478793, was opened at 2012-01-24 05:50
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3478793&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: new feature request
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Philippe Demange (phdems)
Assigned to: Daniel Stenberg (bagder)
Summary: How to differ a connection timeout from a download timeout ?

Initial Comment:
Hi,

i have a question related to the libcurl's interface, but couldn't get any answer on the site:
it is possible to set a connection timeout with option CURLOPT_CONNECTTIMEOUT, and a "general" timeout with option CURLOPT_TIMEOUT, but how can I know, when the timeout error code CURLE_OPERATION_TIMEDOUT is returned, if the connection itself took too long time ?

This could be very useful in order to diagnose more deeply a timeout problem.

Many thx in advance for any help.

Philippe.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2012-01-24 13:09

Message:
This is not a bug. If you have questions or want to discuss how to use or
change libcurl, use the curl-library mailing list and not the bug tracker.
I'm closing this entry.

A short answer to your question would be that libcurl doesn't provide the
answer.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3478793&group_id=976
Received on 2012-01-24

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET