From 8a49f91d328f86e02f841aee3f0f8ae200b39131 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 18 Oct 2018 23:35:12 +0200 Subject: [PATCH] multi: make the closure handle "inherit" CURLOPT_NOSIGNAL Otherwise, closing that handle can still cause surprises! Reported-by: Martin Ankerl Fixes #3138 Closes #3147 --- 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;