request is to be served by the cgi handler.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91876
13f79535-47bb-0310-9956-
ffa450edef68
apr_bucket_brigade *bb;
apr_bucket *b;
char argsbuffer[HUGE_STRING_LEN];
- int is_included = !strcmp(r->protocol, "INCLUDED");
+ int is_included;
apr_pool_t *p;
cgi_server_conf *conf;
apr_status_t rv;
if(strcmp(r->handler,CGI_MAGIC_TYPE) && strcmp(r->handler,"cgi-script"))
return DECLINED;
+ is_included = !strcmp(r->protocol, "INCLUDED");
+
p = r->main ? r->main->pool : r->pool;
if (r->method_number == M_OPTIONS) {