From 7fa095508305dd703b6e02b68fb81e4764f0435d Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Sun, 1 Jun 2014 06:47:31 +0200 Subject: [PATCH] fixed http-manage-source type --- plugins/http/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/http/http.c b/plugins/http/http.c index 932b0d36..caf3e5d3 100644 --- a/plugins/http/http.c +++ b/plugins/http/http.c @@ -63,7 +63,7 @@ struct uwsgi_option http_options[] = { {"http-headers-timeout", required_argument, 0, "set internal http socket timeout for headers", uwsgi_opt_set_int, &uhttp.headers_timeout, 0}, {"http-connect-timeout", required_argument, 0, "set internal http socket timeout for backend connections", uwsgi_opt_set_int, &uhttp.connect_timeout, 0}, - {"http-manage-source", optional_argument, 0, "manage the SOURCE HTTP method placing the session in raw mode", uwsgi_opt_true, &uhttp.manage_source, 0}, + {"http-manage-source", no_argument, 0, "manage the SOURCE HTTP method placing the session in raw mode", uwsgi_opt_true, &uhttp.manage_source, 0}, {"http-enable-proxy-protocol", optional_argument, 0, "manage PROXY protocol requests", uwsgi_opt_true, &uhttp.enable_proxy_protocol, 0}, {0, 0, 0, 0, 0, 0, 0}, };