On Sun, 20 Jun 2021, at 15:14, Abhijeet Bhagat via curl-library wrote:
> i am using libcurl to send rtsp commands (over tcp) to a server.
I did a very similar exercise quite a few years ago (but am a bit rusty on the
subject)
> i was expecting CURLOPT_WRITEFUNCTION to get repeatedly called with
Hi,
I have some C++ code which sends REST requests periodically. Here are some
options that are set and then the curl_easy_perform call (a HEAD message is
being sent):
curl_easy_setopt(mhCurl, CURLOPT_HTTPHEADER, chunk);
curl_easy_setopt(mhCurl, CURLOPT_URL, f_szUrl.c_str());
curl_e
Thank you for your input.
Well, curl_easy_perform did appear to block. When the interface was down, the
function did not return, let alone return an error code.
I have made this change:
< curl_easy_setopt(mhCurl, CURLOPT_CONNECTTIMEOUT, f_lTimeoutSec);
---
> curl_easy_setopt(mhCurl, CUR