Comparison

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
comparison
equal deleted inserted replaced
11028:d7a403060946 11029:5550fc5e83f3
130 if not packet.body_sink then error = true; return error_cb("content-length-limit-exceeded"); end 130 if not packet.body_sink then error = true; return error_cb("content-length-limit-exceeded"); end
131 end 131 end
132 if chunked and not packet.body_sink then 132 if chunked and not packet.body_sink then
133 success_cb(packet); 133 success_cb(packet);
134 if not packet.body_sink then 134 if not packet.body_sink then
135 packet.body_buffer = dbuffer.new(buflimit); 135 packet.body_buffer = dbuffer.new(buflimit);
136 end 136 end
137 end 137 end
138 state = true; 138 state = true;
139 end 139 end
140 if state then -- read body 140 if state then -- read body
141 if chunked then 141 if chunked then