ID:               27584
 Updated by:       [EMAIL PROTECTED]
 Reported By:      xuefer at 21cn dot com
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: *
 PHP Version:      4CVS-2004-03-13
 Assigned To:      iliaa
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

PHP cannot possibly predict all ap2 filters that may 
conflict with PHP output and it would not be a good idea 
(IMHO) to remove all filters before executing PHP. I'd say 
it is up to the user to determine which filters are 
possibly incompatible and handle the situation 
appropriately. 


Previous Comments:
------------------------------------------------------------------------

[2004-04-29 23:08:48] [EMAIL PROTECTED]

Ilia, check above comment..


------------------------------------------------------------------------

[2004-04-22 13:10:07] xuefer at 21cn dot com

php apache2handler should remove "BYTERANGE" outputfilter

example code is in:
./modules/experimental/cache_util.c
line 82

CACHE_DECLARE(void) ap_cache_reset_output_filters(request_rec *r)
{
    ap_filter_t *f = r->output_filters;

    while (f) {
        if (!strcasecmp(f->frec->name, "CORE") ||
            !strcasecmp(f->frec->name, "CONTENT_LENGTH") ||
            !strcasecmp(f->frec->name, "HTTP_HEADER")) {
            f = f->next;
            continue;
        }
        else {
            ap_remove_output_filter(f);
            f = f->next;
        }
    }
}

------------------------------------------------------------------------

[2004-03-16 11:45:18] [EMAIL PROTECTED]

read above message 

------------------------------------------------------------------------

[2004-03-16 11:44:53] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

flushing works differently in ap2 then it does in ap1,  
which may explain the different output.  
 
P.S. Seems to work equally well in ap1 and ap2 on Linux 
however. 

------------------------------------------------------------------------

[2004-03-15 09:52:45] xuefer at 21cn dot com

my expected result works under apache1
and failed(actual result) under apache2


so what? apache2 bug itself?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/27584

-- 
Edit this bug report at http://bugs.php.net/?id=27584&edit=1

Reply via email to