# HG changeset patch # User Matthew Wild # Date 1366057559 -3600 # Node ID 50cbea68586f5cc3ef1a32c8d49952cf59d3c503 # Parent c2c9f07c5d6aff255b9cac6b1cf5e691d2418dd2 net.http.parser: Remove accidentally-committed debugging diff -r c2c9f07c5d6a -r 50cbea68586f net/http/parser.lua --- a/net/http/parser.lua Mon Apr 15 21:21:57 2013 +0100 +++ b/net/http/parser.lua Mon Apr 15 21:25:59 2013 +0100 @@ -133,7 +133,6 @@ 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;