On Wed, 4 Sep 2019, Salman Ahmed via curl-library wrote:

I am facing this problem where my application just terminates when I manually switch off my WiFi while it is waiting on curl_easy_perform() in a separate thread from the main thread.

What libcurl version is this? On Linux, right?

Thread 4 "my-app" received signal SIGPIPE, Broken pipe.

libcurl should invoke send() with MSG_NOSIGNAL set that then would avoid this.

Did configure find and define HAVE_MSG_NOSIGNAL for you?

--

 / daniel.haxx.se | Get the best commercial curl support there is - from me
                  | Private help, bug fixes, support, ports, new features
                  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to