]> granicus.if.org Git - php/commitdiff
MFH
authorIlia Alshanetsky <iliaa@php.net>
Tue, 28 Jan 2003 16:34:41 +0000 (16:34 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 28 Jan 2003 16:34:41 +0000 (16:34 +0000)
sapi/apache2filter/sapi_apache2.c

index 9b399181a3bb1bd6c5b2b244afe0bb2a4d385266..394709e51dac532d4756ed5b3fce00f09f91e59c 100644 (file)
@@ -484,7 +484,9 @@ static int php_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
                        
                        php_apache_request_dtor(f TSRMLS_CC);
                        
-                       ctx->request_processed = 1;
+                       if (!f->r->main) {
+                               ctx->request_processed = 1;
+                       }
 
                        /* Delete the FILE bucket from the brigade. */
                        apr_bucket_delete(b);