projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e18fe3
)
allow signals during send
author
Andy Green
<andy.green@linaro.org>
Sun, 6 Apr 2014 11:41:20 +0000
(12:41 +0100)
committer
Andy 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
patch
|
blob
|
history
diff --git
a/lib/output.c
b/lib/output.c
index
5502ae9
..
9c98cae
100644
(file)
--- 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 ||