|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-25 16:59 UTC] thetaphi@php.net
[2005-06-24 13:25 UTC] thetaphi@php.net
[2005-12-24 02:38 UTC] sniper@php.net
[2006-01-01 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 18:00:01 2025 UTC |
Description: ------------ no output is sent after calling ob_flush() after sending headers. This problem appears to be NSAPI related. Removing the first ob_flush() from the code produces the expected results. Reproduce code: --------------- while (ob_end_clean()); ob_start(); header("X-Foo: BAR"); ob_flush(); flush(); echo "PRE\n\n"; ob_flush(); flush(); echo "POST\n\n"; ob_flush(); flush(); Expected result: ---------------- HTTP/1.1 200 OK Server: Sun-ONE-Web-Server/6.1 Date: Wed, 23 Mar 2005 09:31:45 GMT Content-type: text/html X-powered-by: PHP/5.0.3 X-foo: BAR Connection: close PRE POST Actual result: -------------- HTTP/1.1 200 OK Server: Sun-ONE-Web-Server/6.1 Date: Wed, 23 Mar 2005 09:24:38 GMT Content-type: text/html X-powered-by: PHP/5.0.3 X-foo: BAR Connection: close