]> granicus.if.org Git - curl/commit
sigpipe: if mbedTLS is used, ignore SIGPIPE
authorJeremie Rapin <j.rapin@overkiz.com>
Wed, 23 Jan 2019 14:35:46 +0000 (15:35 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Jan 2019 11:03:33 +0000 (12:03 +0100)
commita9d9a3abbec55ad80d615db4cd74218067df2c33
treef6a6e51329d4d52f2a8fdd8fcd0a0ca7f62d295a
parent1b8fe0a8ae8eb171799da50f4b3b9acea91d1b56
sigpipe: if mbedTLS is used, ignore SIGPIPE

mbedTLS doesn't have a sigpipe management. If a write/read occurs when
the remote closes the socket, the signal is raised and kills the
application.  Use the curl mecanisms fix this behavior.

Signed-off-by: Jeremie Rapin <j.rapin@overkiz.com>
Closes #3502
lib/sigpipe.h