From 485abc1c664fef936c92ef2139d246663fdee4bd Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 6 Apr 2014 12:41:20 +0100 Subject: [PATCH] allow signals during send Signed-off-by: Andy Green --- lib/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/output.c b/lib/output.c index 5502ae90..9c98cae6 100644 --- a/lib/output.c +++ b/lib/output.c @@ -543,7 +543,7 @@ lws_ssl_capable_write_no_ssl(struct libwebsocket *wsi, unsigned char *buf, int l { int n; - n = send(wsi->sock, buf, len, MSG_NOSIGNAL); + n = send(wsi->sock, buf, len, 0); if (n < 0) { if (LWS_ERRNO == LWS_EAGAIN || LWS_ERRNO == LWS_EWOULDBLOCK ||