allow signals during send
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
8e18fe3a94
commit
485abc1c66
1 changed files with 1 additions and 1 deletions
|
@ -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 ||
|
||||
|
|
Loading…
Add table
Reference in a new issue