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:
609ec85
)
ssl fix service problem in MORE_SERVICE case
author
Christian Schüldt
<crilla@kth.se>
Thu, 9 Oct 2014 00:37:12 +0000
(08:37 +0800)
committer
Andy Green
<andy.green@linaro.org>
Thu, 9 Oct 2014 00:37:12 +0000
(08:37 +0800)
Signed-off-by: Christian Schüldt <crilla@kth.se>
lib/server.c
patch
|
blob
|
history
diff --git
a/lib/server.c
b/lib/server.c
index
9932b25
..
4c2abac
100644
(file)
--- a/
lib/server.c
+++ b/
lib/server.c
@@
-684,7
+684,7
@@
int lws_server_socket_service(struct libwebsocket_context *context,
LWS_CLOSE_STATUS_NOSTATUS);
return 0;
case LWS_SSL_CAPABLE_MORE_SERVICE:
-
break
;
+
goto try_pollout
;
}
/* just ignore incoming if waiting for close */
@@
-702,6
+702,7
@@
int lws_server_socket_service(struct libwebsocket_context *context,
}
}
+try_pollout:
/* this handles POLLOUT for http serving fragments */
if (!(pollfd->revents & LWS_POLLOUT))