Test: /ext/standard/tests/http/bug48929.phpt - Version 5.4.9        

Bug #48929 [PATCH]?Double \r\n after HTTP headers when "header" context option is an array
Submitted: 2009-07-15 17:26:50 Modified: 2009-07-20 10:55:04
From: david.zuelke Assigned:
Status: Closed Package: Streams related
PHP Version: 5.*, 6 OS: *

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

Count Diff
76 (96%)
002+ string(0) ""
002- string(103) "POST / HTTP/1.0
003- Host: 127.0.0.1:12342
004- Content-Length: 4
005- X-Foo: bar
006- Content-Type: text/plain
007-
008- ohai"
004+ string(0) ""
010- string(103) "POST / HTTP/1.0
011- Host: 127.0.0.1:12342
012- Content-Length: 4
013- X-Foo: bar
014- Content-Type: text/plain
015-
016- ohai"
2 (3%)
1 (1%)
002+ /home/ms/mysoft/php-5.4.9/sapi/cli/php: relocation error: /home/ms/mysoft/php-5.4.9/sapi/cli/php: symbol __fixunsdfdi, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference
003+
004+ Warning: fopen(): couldn't connect to server in %s/bug48929.php on line 16
005+
006+ Warning: fopen(http://127.0.0.1:12342/): failed to open stream: operation failed in %s/bug48929.php on line 16
007+ string(0) ""
008+ -- Test: requests with 'header' as string --
009+ /home/ms/mysoft/php-5.4.9/sapi/cli/php: relocation error: /home/ms/mysoft/php-5.4.9/sapi/cli/php: symbol __fixunsdfdi, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference
010+
011+ Warning: fopen(): couldn't connect to server in %s/bug48929.php on line 16
002- string(103) "POST / HTTP/1.0
003- Host: 127.0.0.1:12342
004- Content-Length: 4
005- X-Foo: bar
006- Content-Type: text/plain
008- ohai"
009- -- Test: requests with 'header' as string --
013+ Warning: fopen(http://127.0.0.1:12342/): failed to open stream: operation failed in %s/bug48929.php on line 16
014+ string(0) ""
010- string(103) "POST / HTTP/1.0
011- Host: 127.0.0.1:12342
012- Content-Length: 4
013- X-Foo: bar
014- Content-Type: text/plain
015-
016- ohai"