From b26606a1c5e43393af8eacaf02c801541df6260c Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sun, 22 Jan 2012 10:48:23 +0000 Subject: [PATCH] Document the rather surprising code path on Windows git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1234479 13f79535-47bb-0310-9956-ffa450edef68 --- server/core_filters.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/core_filters.c b/server/core_filters.c index 5cdcb990d0..b10de2c26c 100644 --- a/server/core_filters.c +++ b/server/core_filters.c @@ -105,6 +105,11 @@ int ap_core_input_filter(ap_filter_t *f, apr_bucket_brigade *b, if (!ctx) { + /* + * Note that this code is never executed on Windows because the winnt + * MPM does the setup of net->in_ctx. + * XXX: This should be fixed. + */ ctx = apr_pcalloc(f->c->pool, sizeof(*ctx)); ctx->b = apr_brigade_create(f->c->pool, f->c->bucket_alloc); ctx->tmpbb = apr_brigade_create(ctx->b->p, ctx->b->bucket_alloc); -- 2.40.0