summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2016-04-05 19:51:55 +0800
committerAndy Green <andy@warmcat.com>2016-04-05 19:51:55 +0800
commit9ec343d795fedba3bc2459184a1e9b2cf2846a44 (patch)
treef9db071974c70afc98b2a892aa456614b4144ac2
parent900204e3afc74b882f70353ae38cb6e50841c2a4 (diff)
downloadlibwebsockets-9ec343d795fedba3bc2459184a1e9b2cf2846a44.tar.gz
libwebsockets-9ec343d795fedba3bc2459184a1e9b2cf2846a44.tar.bz2
libwebsockets-9ec343d795fedba3bc2459184a1e9b2cf2846a44.zip
revert 622d9f2 ssl pending handcrank
https://github.com/warmcat/libwebsockets/issues/483 Signed-off-by: Andy Green <andy@warmcat.com>
-rw-r--r--lib/service.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/service.c b/lib/service.c
index 1ecd1cac..64a07590 100644
--- a/lib/service.c
+++ b/lib/service.c
@@ -603,9 +603,6 @@ lws_service_fd_tsi(struct lws_context *context, struct lws_pollfd *pollfd, int t
n = lws_server_socket_service(context, wsi, pollfd);
if (n) /* closed by above */
return 1;
- pending = lws_ssl_pending(wsi);
- if (pending)
- goto handle_pending;
goto handled;
case LWSCM_WS_SERVING:
@@ -792,7 +789,6 @@ drain:
pending = lws_ssl_pending(wsi);
if (pending) {
-handle_pending:
pending = pending > LWS_MAX_SOCKET_IO_BUF ?
LWS_MAX_SOCKET_IO_BUF : pending;
goto read;