1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

use send MSG_NOSIGNAL

after

810dbadd6b

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2015-10-12 08:43:36 +08:00
parent b6147fd2e5
commit 6f1e8849bd

View file

@ -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;