From 9616c9a8e6becba2ecaf98df105a2cebe673d11f Mon Sep 17 00:00:00 2001 From: Andrew Canaday Date: Wed, 2 Dec 2015 15:27:37 -0500 Subject: [PATCH] Last clumsy act of consideration: jump beyond if --- lib/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service.c b/lib/service.c index fde3ccd77..9ac9381dc 100644 --- a/lib/service.c +++ b/lib/service.c @@ -592,8 +592,8 @@ drain: } while (more); pending = lws_ssl_pending(wsi); -handle_pending: if (pending) { +handle_pending: pending = pending > sizeof(context->service_buffer)? sizeof(context->service_buffer):pending; goto read;