Test: /sapi/cli/tests/bug65633.phpt - Version 5.5.9        

Bug #65633 built-in server treat some http headers as case-sensitive
Submitted: 2013-09-08 13:43:56 Modified: 2013-09-09 23:42:08
From: francesco.laffi Assigned: aharvey
Status: Closed Package: Built-in web server
PHP Version: 5.5Git-2013-09-08 (snap) OS:

There are 6 different diffs reported by users for this test.

Count Diff
7 (37%)
001- HTTP/1.1 200 OK
002- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html
006- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"
5 (26%)
001+ ** ERROR: process timed out **
001- HTTP/1.1 200 OK
002- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html
005-
006- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"
3 (16%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>Unknown</b> on line <b>0</b><br />
003+
004+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug65633.php on line 11
001- HTTP/1.1 200 OK
002- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html
006+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/bug65633.php on line 11
007+ connect failed
006- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"
2 (11%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/bug65633.php on line 11
002+ connect failed
001- HTTP/1.1 200 OK
002- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html
005-
006- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"
1 (5%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in <b>Unknown</b> on line <b>0</b><br />
001- HTTP/1.1 200 OK
002- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html
004+ ** ERROR: process timed out **
006- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"
1 (5%)
001+ /etc/host.conf: line 1: expected `on' or `off', found `no'