From: Daniel Stenberg Date: Thu, 18 Oct 2018 21:35:12 +0000 (+0200) Subject: multi: make the closure handle "inherit" CURLOPT_NOSIGNAL X-Git-Tag: curl-7_62_0~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a49f91d328f86e02f841aee3f0f8ae200b39131;p=curl multi: make the closure handle "inherit" CURLOPT_NOSIGNAL Otherwise, closing that handle can still cause surprises! Reported-by: Martin Ankerl Fixes #3138 Closes #3147 --- diff --git a/lib/multi.c b/lib/multi.c index acf9ecc6e..9485f7857 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -492,6 +492,8 @@ CURLMcode curl_multi_add_handle(struct Curl_multi *multi, data->state.conn_cache->closure_handle->set.timeout = data->set.timeout; data->state.conn_cache->closure_handle->set.server_response_timeout = data->set.server_response_timeout; + data->state.conn_cache->closure_handle->set.no_signal = + data->set.no_signal; update_timer(multi); return CURLM_OK;