diff options
author | Andy Green <andy@warmcat.com> | 2012-04-09 15:23:47 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-04-09 15:23:47 +0800 |
commit | 7b5af9af15c496a32921974c538c4f0ca90ffda4 (patch) | |
tree | e8900e812abdf4448a80f986efe912de3b2dd59f | |
parent | 3ae39ff7968e99ca4cf2215f1960a0bd980899b7 (diff) |
fix onopen browser context patch
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | lib/libwebsockets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 1feb728..b05f79e 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -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) |