File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ static void https_fetch_ctx_init(https_client_t *client,
309309 ASSERT_CURL_EASY_SETOPT (ctx , CURLOPT_PIPEWAIT , (long )(client -> opt -> use_http_version > 1 ));
310310 ASSERT_CURL_EASY_SETOPT (ctx , CURLOPT_USERAGENT , "https_dns_proxy/0.4" );
311311 ASSERT_CURL_EASY_SETOPT (ctx , CURLOPT_FOLLOWLOCATION , 0L );
312- ASSERT_CURL_EASY_SETOPT (ctx , CURLOPT_NOSIGNAL , 0L );
312+ ASSERT_CURL_EASY_SETOPT (ctx , CURLOPT_NOSIGNAL , 1L ); // Disable curl's signal handling to avoid conflicts with libev
313313 ASSERT_CURL_EASY_SETOPT (ctx , CURLOPT_TIMEOUT , client -> connections > 0 ? 5L : 10L /* seconds */ );
314314 // We know Google supports this, so force it.
315315 ASSERT_CURL_EASY_SETOPT (ctx , CURLOPT_SSLVERSION , (long )CURL_SSLVERSION_TLSv1_2 );
You can’t perform that action at this time.
0 commit comments