Commit 459b224c authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

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
parent e3922ea0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);