PHP :: Bug #22072 :: connection_status() always returning 0
| Bug #22072 | connection_status() always returning 0 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2003-02-05 09:05 UTC | Modified: | 2003-08-01 15:21 UTC |
|
||||||||||
| From: | neil at mpfreescene dot com | Assigned: | ||||||||||||
| Status: | Closed | Package: | Apache2 related | |||||||||||
| PHP Version: | 4.3.2 | OS: | FREEBSD 4.7-STABLE | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2003-02-05 09:05 UTC] neil at mpfreescene dot com
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)
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-02-06 04:36 UTC] neil at mpfreescene dot com
[2003-02-19 10:48 UTC] jorgeg at gtsf dot com
[2003-07-24 03:35 UTC] neil at mpfreescene dot com
[2003-08-01 12:55 UTC] neil at mpfreescene dot com
[2003-08-01 15:21 UTC] iliaa@php.net