check_pipeline_flush(), making it think another request was available (when
it wasn't). Apache would avoid flushing the prior request and block on
reading the next request. (of course, the client wasn't sending the next
one, cuz it was still waiting for the results of the first one)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91366
13f79535-47bb-0310-9956-
ffa450edef68
http_ctx_t *ctx = f->ctx;
apr_status_t rv;
+ /* just get out of the way of this thing. */
+ if (mode == AP_MODE_PEEK)
+ return ap_get_brigade(f->next, b, mode, readbytes);
+
if (!ctx) {
const char *tenc, *lenp;
f->ctx = ctx = apr_palloc(f->r->pool, sizeof(*ctx));