curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: timeouts

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Oct 2017 16:16:24 +0200 (CEST)

On Mon, 9 Oct 2017, folkert wrote:

> Hmmm and what about via:
>
> curl_easy_setopt(ch, CURLOPT_XFERINFOFUNCTION, ...);

Oh right, that FAQ entry should rather point that one out instead of
CURLOPT_PROGRESSFUNCTION.

> Is there some way to see at what timestamp the last read succeeded?

Not really, but CURLOPT_WRITEFUNCTION is called every time there is data so
you know that there hasn't been any data read since the last callback.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-09