From f8a50929a8554f74fb02c8b1ffcb7b2ccdb6e27f Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Wed, 29 Oct 2014 11:04:35 +0800 Subject: [PATCH] bugfix: break when write all --- lualib/http/httpd.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lualib/http/httpd.lua b/lualib/http/httpd.lua index 5f8f6de8..944c9584 100644 --- a/lualib/http/httpd.lua +++ b/lualib/http/httpd.lua @@ -130,6 +130,7 @@ local function writeall(writefunc, statuscode, bodyfunc, header) end else writefunc("\r\n0\r\n\r\n") + break end end else