aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-15 21:25:59 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-15 21:25:59 +0100
commit7d170b2286cbc6b1491ffdf128bace416a86c5e9 (patch)
tree4458cad42819d93c49bb5bed4a279ea396438161
parentd3ae92484963e2a650e4ed5d87fe8c19970bbd2a (diff)
downloadprosody-7d170b2286cbc6b1491ffdf128bace416a86c5e9.tar.gz
prosody-7d170b2286cbc6b1491ffdf128bace416a86c5e9.zip
net.http.parser: Remove accidentally-committed debugging
-rw-r--r--net/http/parser.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/http/parser.lua b/net/http/parser.lua
index 9688e052..f9e6cea0 100644
--- a/net/http/parser.lua
+++ b/net/http/parser.lua
@@ -133,7 +133,6 @@ function httpstream.new(success_cb, error_cb, parser_type, options_cb)
buf = buf:gsub("^.-\r\n\r\n", ""); -- This ensure extensions and trailers are stripped
success_cb(packet);
elseif #buf - chunk_start + 2 >= chunk_size then -- we have a chunk
- print(chunk_start, chunk_size, ("%q"):format(buf))
packet.body = packet.body..buf:sub(chunk_start, chunk_start + (chunk_size-1));
buf = buf:sub(chunk_start + chunk_size + 2);
chunk_size, chunk_start = nil, nil;