]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: make sigpipe handling more lazy
authorStefan Eissing <stefan@eissing.org>
Thu, 15 Jan 2026 12:24:05 +0000 (13:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 19 Jan 2026 08:37:47 +0000 (09:37 +0100)
commit9703dabd77b5fbfda26944462afcc84242eaa486
tree217e6ab84161f253a05a78be4598b89873b4706a
parent4ed578af7a08b7fce4a116ef2aedfedade750da4
lib: make sigpipe handling more lazy

Define `struct Curl_sigpipe_ctx` that can be passed as argunent
to "lower" functions so that applying a transfers 'no_signal'
setting can be delayed as much as possible and sometimes avoided
alltogether.

Fixes #20326
Closes #20329
Reported-by: Dag Haavi Finstad
lib/conncache.c
lib/cshutdn.c
lib/cshutdn.h
lib/easy.c
lib/multi.c
lib/sigpipe.h