Diff

net/http/parser.lua @ 11029:5550fc5e83f3

net.http.parser: Fix indentation Probably due to a rebase/merge with a merge tool that ignores whitespace. Happens all the time to me :(
author Kim Alvefur <zash@zash.se>
date Thu, 20 Aug 2020 16:43:27 +0200
parent 11021:9673c95895fb
child 11184:2ede7f43ccfe
line wrap: on
line diff
--- a/net/http/parser.lua	Thu Aug 20 15:22:19 2020 +0100
+++ b/net/http/parser.lua	Thu Aug 20 16:43:27 2020 +0200
@@ -132,8 +132,8 @@
 					if chunked and not packet.body_sink then
 						success_cb(packet);
 						if not packet.body_sink then
-						packet.body_buffer = dbuffer.new(buflimit);
-					end
+							packet.body_buffer = dbuffer.new(buflimit);
+						end
 					end
 					state = true;
 				end