diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-10-18 23:35:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-10-18 23:35:12 +0200 |
commit | db1f6bcda3a941efa5368632e00e73c2e7f87f88 (patch) | |
tree | 94ea44777a77c346c53c6ea65a9a5368f5fe7fc0 | |
parent | ad547fcf7b3c0191f63396b94c797bfbb4147f62 (diff) | |
download | curl-bagder/no-signal-closure_handle.tar.gz |
multi: make the closure handle "inherit" CURLOPT_NOSIGNALbagder/no-signal-closure_handle
Otherwise, closing that handle can still cause surprises!
Reported-by: Martin Ankerl
Fixes #3128
-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; |