curl / Mailing Lists / curl-library / Single Mail

curl-library

timeouts

From: folkert <folkert_at_vanheusden.com>
Date: Mon, 9 Oct 2017 15:20:38 +0200

Hi,

I use curl to retrieve a video-stream of semi-infinite length.
Now sometimes if the camera crashes, the video stream stops.
I would like curl to timeout then.
Is this possible?
From the manual I understood that CURLOPT_TIMEOUT_MS is for the whole
session. I need a t/o for a single read.

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