ID: 24177
Updated by: sniper@php.net
Reported By: ohrn@php.net
-Status: Feedback
+Status: No Feedback
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4.3.3RC2-dev
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-07-24 15:09:25] sniper@php.net
still waiting for the test case..
------------------------------------------------------------------------
[2003-07-17 21:38:07] sniper@php.net
Ok. Set back to "Open" when you get that testcase done.
------------------------------------------------------------------------
[2003-07-17 10:10:56] ohrn@php.net
I've just tried out php4-STABLE-200307171330 and the problem is still
present.
I'll write a small testcase during the weekend so that you can easily
verify the bug.
Regards,
Fredrik
------------------------------------------------------------------------
[2003-07-10 23:48:19] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Can you do a favor and test the latest CVS?
I have no time to setup a mirror just to test this.. :)
------------------------------------------------------------------------
[2003-06-15 10:20:54] ohrn@php.net
Yes. Odd at first.
After some experimentation I figured it out.
do-download.inc calls flush() on line 31. This causes the 'original'
status to be sent instead of the one specified by the call to
header().
If 4096 bytes or more are written before the flush the correct status
is sent.
I guess the codepath that handles an expicit flush manages to loose the
new status code somewhere.
I replaced echo " " with echo str_repeat(' ', 4096) and now our mirror
works fine and dandy again.
------------------------------------------------------------------------
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/24177--
Edit this bug report at http://bugs.php.net/?id=24177&edit=1