httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1234479 - /httpd/httpd/trunk/server/core_filters.c
Date Sun, 22 Jan 2012 10:48:23 GMT
Author: sf
Date: Sun Jan 22 10:48:23 2012
New Revision: 1234479

URL: http://svn.apache.org/viewvc?rev=1234479&view=rev
Log:
Document the rather surprising code path on Windows

Modified:
    httpd/httpd/trunk/server/core_filters.c

Modified: httpd/httpd/trunk/server/core_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core_filters.c?rev=1234479&r1=1234478&r2=1234479&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core_filters.c (original)
+++ httpd/httpd/trunk/server/core_filters.c Sun Jan 22 10:48:23 2012
@@ -105,6 +105,11 @@ int ap_core_input_filter(ap_filter_t *f,
 
     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);



Mime
View raw message