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

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 12 different diffs reported by users for this test.

Count Diff
1 (8%)
006+
007+ Hello World!
008+ Hello World!
1 (8%)
003+ Date: Wed, 11 Sep 2019 16:41:23 +0000
005- Content-type: text/html
006+ Content-type: text/html; charset=UTF-8
007+
008+ Hello World!
009+ Hello World!
1 (8%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection timed out) 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
1 (8%)
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
1 (8%)
001+ PHP 5.5.38 Development Server started at Wed Aug 4 12:40:43 2021
1 (8%)
001+ PHP 5.5.38 Development Server started at Wed Aug 4 10:26:28 2021
1 (8%)
001+ PHP 5.5.38 Development Server started at Tue Jan 16 06:37:26 2018
1 (8%)
001+ PHP 5.5.38 Development Server started at Thu Sep 7 21:52:36 2017
1 (8%)
001+ PHP 5.5.38 Development Server started at Fri Jan 12 02:23:02 2018
1 (8%)
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
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
1 (8%)
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
1 (8%)
001+
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html