Use CURLOPT_NOSIGNAL to fix crashes on update check (#2495).
authorCarl Hetherington <cth@carlh.net>
Wed, 29 Mar 2023 23:25:25 +0000 (01:25 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 29 Mar 2023 23:25:25 +0000 (01:25 +0200)
commit0fab37d3b61eb150b3de4a4000b8156e6e53574b
tree52bd6813733b2bfcc9a818bae96c2735028fe23f
parentab09ce82e22e62e6142c7edb67c96c8b3b80179c
Use CURLOPT_NOSIGNAL to fix crashes on update check (#2495).

Without this, it's possible to come back from curl_easy_perform
in a different thread to the one that it was called from (in the case
of an error).

As I understand it, this happens because a signal handler is called
(from a different thread) and CURLOPT_NOSIGNAL stops this from
happening.
src/lib/update_checker.cc