curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to identify HTTP timeout during response phase

From: Daniel Stenberg <daniel_at_haxx.se>
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...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-07-25