RE: curl_easy_perform blocks when ifdown the ntwk interface

2018-11-17 Thread Daniel Stenberg via curl-library
On Tue, 13 Nov 2018, Matthews, Jeremy via curl-library wrote: 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);

RE: curl_easy_perform blocks when ifdown the ntwk interface

2018-11-13 Thread Matthews, Jeremy via curl-library
ool.haxx.se<mailto:curl-library-ow...@cool.haxx.se> When replying, please edit your Subject line so it is more specific than "Re: Contents of curl-library digest..." Today's Topics: 1. Re: curl_easy_perform blocks when ifdown the ntwk interface (doa379)

Re: curl_easy_perform blocks when ifdown the ntwk interface

2018-11-12 Thread doa379 via curl-library
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_ea

curl_easy_perform blocks when ifdown the ntwk interface

2018-11-09 Thread Matthews, Jeremy via curl-library
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