aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/parser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/parser.lua')
-rw-r--r--net/http/parser.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/parser.lua b/net/http/parser.lua
index b8396518..3470ffb1 100644
--- a/net/http/parser.lua
+++ b/net/http/parser.lua
@@ -132,8 +132,8 @@ function httpstream.new(success_cb, error_cb, parser_type, options_cb)
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