From 2033101b3e9ca9fdc4efa8a658404594df67131f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 2 Aug 2009 18:49:55 -0700 Subject: http: process Content-Length and Transfer-Encoding Explicitly track if our request will need Content-Length or chunked body decoding. --- ext/unicorn_http/global_variables.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/unicorn_http/global_variables.h') diff --git a/ext/unicorn_http/global_variables.h b/ext/unicorn_http/global_variables.h index 7feef93..3437ee2 100644 --- a/ext/unicorn_http/global_variables.h +++ b/ext/unicorn_http/global_variables.h @@ -19,6 +19,9 @@ static VALUE g_server_protocol; static VALUE g_server_protocol_value; static VALUE g_http_host; static VALUE g_http_x_forwarded_proto; +static VALUE g_http_transfer_encoding; +static VALUE g_content_length; +static VALUE g_http_trailer; static VALUE g_port_80; static VALUE g_port_443; static VALUE g_localhost; -- cgit v1.2.3-24-ge0c7