Commit 8349fac7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

tls: fix SIGPIPE with vlc_tls_DummyCreate()

parent c1df2e66
...@@ -319,7 +319,7 @@ static ssize_t vlc_tls_DummyReceive(vlc_tls_t *tls, void *buf, size_t len) ...@@ -319,7 +319,7 @@ static ssize_t vlc_tls_DummyReceive(vlc_tls_t *tls, void *buf, size_t len)
static ssize_t vlc_tls_DummySend(vlc_tls_t *tls, const void *buf, size_t len) static ssize_t vlc_tls_DummySend(vlc_tls_t *tls, const void *buf, size_t len)
{ {
return send(tls->fd, buf, len, 0); return send(tls->fd, buf, len, MSG_NOSIGNAL);
} }
static void vlc_tls_DummyClose(vlc_tls_t *tls) static void vlc_tls_DummyClose(vlc_tls_t *tls)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment