curl / Mailing Lists / curl-library / Single Mail


Re: How to identify HTTP timeout during response phase

From: Daniel Stenberg <>
Date: Wed, 25 Jul 2018 18:33:58 +0200 (CEST)

On Tue, 24 Jul 2018, Gaurav Pruthi wrote:

> CURL throws CURLE_OPERATION_TIMEDOUT to signify that connection was timed
> out. Do we have any mechanism to identify as to the timeout occurs while
> receiving the data and not during sending the data.

No it doesn't. However since you can set a callback to receive incoming data,
you should know if that has ever been invoked or not...

Received on 2018-07-25