]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Document the rather surprising code path on Windows
authorStefan Fritsch <sf@apache.org>
Sun, 22 Jan 2012 10:48:23 +0000 (10:48 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 22 Jan 2012 10:48:23 +0000 (10:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1234479 13f79535-47bb-0310-9956-ffa450edef68

server/core_filters.c

index 5cdcb990d0937c72adf286b8c63fb80a91cce3b0..b10de2c26c8107b260f18e743c2f3e837c04f569 100644 (file)
@@ -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);