]> granicus.if.org Git - apache/commitdiff
We shouldn't need to create r->allowed_methods twice!
authorNick Kew <niq@apache.org>
Sat, 9 Jan 2010 22:34:51 +0000 (22:34 +0000)
committerNick Kew <niq@apache.org>
Sat, 9 Jan 2010 22:34:51 +0000 (22:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@897570 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 81701f243afb954608ea8d6e8620547889d870f1..869bbc82a40a03443210e00200632753362e8e6d 100644 (file)
@@ -447,7 +447,6 @@ static request_rec *internal_internal_redirect(const char *new_uri,
     new->err_headers_out = r->err_headers_out;
     new->subprocess_env  = rename_original_env(r->pool, r->subprocess_env);
     new->notes           = apr_table_make(r->pool, 5);
-    new->allowed_methods = ap_make_method_list(new->pool, 2);
 
     new->htaccess        = r->htaccess;
     new->no_cache        = r->no_cache;