about summary refs log tree commit homepage
path: root/ext/unicorn/http11/http11_parser.rl
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-21 11:14:40 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-21 11:16:22 -0700
commitd048a9a8cc757d6b0078a47fa472eaefaa82b700 (patch)
tree9f938e37eab42656ce6dd3e95e4b2bdeece19080 /ext/unicorn/http11/http11_parser.rl
parented4f50016ab0eab1ebbeac2fe1d0fd8712c7ee91 (diff)
downloadunicorn-d048a9a8cc757d6b0078a47fa472eaefaa82b700.tar.gz
We don't do anything special with content length in the parser
other than forcing the headers without the "HTTP_" prefix for
Rack-compliance.
Diffstat (limited to 'ext/unicorn/http11/http11_parser.rl')
-rw-r--r--ext/unicorn/http11/http11_parser.rl1
1 files changed, 0 insertions, 1 deletions
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;