From d048a9a8cc757d6b0078a47fa472eaefaa82b700 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 21 Apr 2009 11:14:40 -0700 Subject: http11: remove unused variables/elements We don't do anything special with content length in the parser other than forcing the headers without the "HTTP_" prefix for Rack-compliance. --- ext/unicorn/http11/http11_parser.rl | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/unicorn/http11/http11_parser.rl') diff --git a/ext/unicorn/http11/http11_parser.rl b/ext/unicorn/http11/http11_parser.rl index a9f7a39..4afafc0 100644 --- a/ext/unicorn/http11/http11_parser.rl +++ b/ext/unicorn/http11/http11_parser.rl @@ -99,7 +99,6 @@ int http_parser_init(http_parser *parser) { %% write init; parser->cs = cs; parser->body_start = 0; - parser->content_len = 0; parser->mark = 0; parser->nread = 0; parser->field_len = 0; -- cgit v1.2.3-24-ge0c7