note 34810 added to function.header

From: Date: Thu, 07 Aug 2003 09:13:30 +0000
Subject: note 34810 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-53559@lists.php.net to get a copy of this message
In Mozilla or Netscape 6+, when displaying PHP pages through SSL, I've been seeing corrupted HTTP. Extra characters would creep into the HTTP headers and page body in about half of all requests. The effect is that page images would not load, or that the page headers would be displayed followed by the page HTML source. Before the "HTTP/1.1 200 OK" header a single line containing the character "0" would appear. Lines containing a few hex characters would be distributed throughout the page. The problem was showing up in Apache/2.0.44, mod_ssl/2.0.44, OpenSSL 0.9.6b, PHP 4.1.2 Turning off persistent HTTP connections by doing a header("Connection: close"), seems to fix the problem. ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34810 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34810&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34810&report=yes

« previous php.notes (#53559) next »