From db1f6bcda3a941efa5368632e00e73c2e7f87f88 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 18 Oct 2018 23:35:12 +0200 Subject: multi: make the closure handle "inherit" CURLOPT_NOSIGNAL Otherwise, closing that handle can still cause surprises! Reported-by: Martin Ankerl Fixes #3128 --- lib/multi.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.1