mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
revert 622d9f2
ssl pending handcrank
https://github.com/warmcat/libwebsockets/issues/483 Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
2e15d0ad57
commit
513580d1bd
1 changed files with 0 additions and 4 deletions
|
@ -742,9 +742,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:
|
||||
|
@ -954,7 +951,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue