allow signals during send
authorAndy Green <andy.green@linaro.org>
Sun, 6 Apr 2014 11:41:20 +0000 (12:41 +0100)
committerAndy Green <andy.green@linaro.org>
Sun, 6 Apr 2014 11:41:20 +0000 (12:41 +0100)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/output.c

index 5502ae9..9c98cae 100644 (file)
@@ -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 ||