entirely skip request body determinations for subrequests, stuff
in an EOS and we are off to the races, ready to create a body-less
proxied subrequest.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody-2.0.x@230725
13f79535-47bb-0310-9956-
ffa450edef68
old_te_val = NULL;
apr_table_unset(r->headers_in, "Transfer-Encoding");
}
+ rb_method = RB_STREAM_CL;
+ e = apr_bucket_eos_create(input_brigade->bucket_alloc);
+ APR_BRIGADE_INSERT_TAIL(input_brigade, e);
+ goto skip_body;
}
/* Prefetch MAX_MEM_SPOOL bytes
}
}
+/* Yes I hate gotos. This is the subrequest shortcut */
+skip_body:
+
switch(rb_method) {
case RB_STREAM_CHUNKED:
status = stream_reqbody_chunked(p, r, p_conn, origin, bb,