mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ssl fix service problem in MORE_SERVICE case
Signed-off-by: Christian Schüldt <crilla@kth.se>
This commit is contained in:
parent
609ec85869
commit
fde9379e41
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue