#22072 [NEW]: connection_status() always returning 0
| From: | neil at mpfreescene dot com | Date: | Wed, 05 Feb 2003 15:05:27 +0000 |
| Subject: | #22072 [NEW]: connection_status() always returning 0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-32192@lists.php.net to get a copy of this message | ||
From: neil@mpfreescene.com
Operating system: FREEBSD 4.7-STABLE
PHP version: 4.3.0
PHP Bug Type: *General Issues
Bug description: connection_status() always returning 0
This bug is effecting the connection_status() function in apache 2.x
Okay, getting back to a long standing bug, which we kind of come to the
conclusion last time that it may be a bug in apache 2.x because it works
in apache 1.
Well time has come on, I have submitted the bug to apache after they fixed
the incorrect bytes logged bug, and this is what they have come up with
:-
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16426
ok, I've grabbed the current php source and looked into sapi_apache2.c.
It's
definitely a php bug. Line 90 shows:
if (ap_pass_brigade(f->next, bb) != APR_SUCCESS) {
php_handle_aborted_connection();
}
which won't match in most cases. Also Line 252 and 498.
AFAICS mod_php should (additionally) check connection->aborted.
(marking this bug invalid again)
--
Edit bug report at http://bugs.php.net/?id=22072&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22072&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22072&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22072&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22072&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22072&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22072&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22072&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22072&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22072&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22072&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22072&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22072&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22072&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22072&r=gnused