From: Stefan Fritsch Date: Sun, 22 Jan 2012 10:48:23 +0000 (+0000) Subject: Document the rather surprising code path on Windows X-Git-Tag: 2.5.0-alpha~7557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b26606a1c5e43393af8eacaf02c801541df6260c;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/server/core_filters.c b/server/core_filters.c index 5cdcb990d09..b10de2c26c8 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);