diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-10-18 23:35:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-10-19 11:03:17 +0200 |
commit | 8a49f91d328f86e02f841aee3f0f8ae200b39131 (patch) | |
tree | 8fa22c4715cf617fadaed687864b8d31da39675d /lib | |
parent | e693a15722c7400cd945fd59fe0a4c52700c0552 (diff) |
multi: make the closure handle "inherit" CURLOPT_NOSIGNAL
Otherwise, closing that handle can still cause surprises!
Reported-by: Martin Ankerl
Fixes #3138
Closes #3147
Diffstat (limited to 'lib')
-rw-r--r-- | lib/multi.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |