From 7987e1a4001491f8a494f3926037f8cbee713263 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 3 Sep 2010 01:48:24 +0000 Subject: enable HTTP keepalive support for all methods Yes, this means even POST/PUT bodies may be kept alive, but only if the body (and trailers) are fully-consumed. --- ext/unicorn_http/global_variables.h | 4 ---- 1 file changed, 4 deletions(-) (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 8377704..274f456 100644 --- a/ext/unicorn_http/global_variables.h +++ b/ext/unicorn_http/global_variables.h @@ -26,8 +26,6 @@ static VALUE g_http; static VALUE g_http_09; static VALUE g_http_10; static VALUE g_http_11; -static VALUE g_GET; -static VALUE g_HEAD; /** Defines common length and error messages for input length validation. */ #define DEF_MAX_LENGTH(N, length) \ @@ -82,8 +80,6 @@ static void init_globals(void) DEF_GLOBAL(http_11, "HTTP/1.1"); DEF_GLOBAL(http_10, "HTTP/1.0"); DEF_GLOBAL(http_09, "HTTP/0.9"); - DEF_GLOBAL(GET, "GET"); - DEF_GLOBAL(HEAD, "HEAD"); } #undef DEF_GLOBAL -- cgit v1.2.3-24-ge0c7