mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
fix onopen browser context patch
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
3ae39ff796
commit
7b5af9af15
1 changed files with 1 additions and 0 deletions
|
@ -1887,6 +1887,7 @@ libwebsocket_service_fd(struct libwebsocket_context *context,
|
|||
* definitively ready from browser pov.
|
||||
*/
|
||||
|
||||
len = 1;
|
||||
while (wsi->parser_state != WSI_PARSING_COMPLETE && len > 0) {
|
||||
#ifdef LWS_OPENSSL_SUPPORT
|
||||
if (wsi->use_ssl)
|
||||
|
|
Loading…
Add table
Reference in a new issue