Test: /sapi/cli/tests/bug66830.phpt - Version 5.6.5        

Bug #66830 Empty header causes PHP built-in web server to hang
Submitted: 2014-03-05 22:38:58 Modified: 2014-07-06 02:25:45
From: jon.dufresne Assigned:
Status: Closed Package: Built-in web server
PHP Version: 5.5.9 OS: Fedora 20

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

Count Diff
4 (50%)
001+ ** ERROR: process timed out **
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html; charset=UTF-8
2 (25%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/bug66830.php on line 11
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html; charset=UTF-8
1 (13%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (No route to host) in %s/bug66830.php on line 11
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html; charset=UTF-8
1 (13%)
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/bug66830.php on line 11
005+
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html; charset=UTF-8
006+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/bug66830.php on line 11
007+ connect failed