use send MSG_NOSIGNAL
after
810dbadd6b
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
b6147fd2e5
commit
6f1e8849bd
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ lws_ssl_capable_write_no_ssl(struct libwebsocket *wsi, unsigned char *buf, int l
|
|||
{
|
||||
int n;
|
||||
|
||||
n = send(wsi->sock, buf, len, 0);
|
||||
n = send(wsi->sock, buf, len, MSG_NOSIGNAL);
|
||||
if (n >= 0)
|
||||
return n;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue