Test: /ext/curl/tests/bug48203.phpt - Version 7.4.0alpha2        

Bug #48203 crash when CURLOPT_STDERR is set to regular file
Submitted: 2009-05-09 13:44:05 Modified: 2011-09-08 14:38:23
From: php-bug Assigned: bjori
Status: Closed Package: cURL related
PHP Version: 5.*, 6CVS (2009-05-09) OS: *

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

Count Diff
1 (33%)
003+ * Trying ::1...
004+ * TCP_NODELAY set
005+ * Connected to localhost (::1) port 8964 (#0)
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ > GET / HTTP/1.1
007+ Host: localhost:8964
008+ Accept: */*
009+
010+ < HTTP/1.1 200 OK
011+ < Host: localhost:8964
012+ < Date: Thu, 27 Jun 2019 08:14:06 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0alpha2
015+ < Content-type: text/html; charset=UTF-8
016+ <
017+ Hello World!
018+ Hello World!* Curl_http_done: called premature == 0
019+ * Closing connection 0
020+ Ok
1 (33%)
003+ * Trying ::1...
004+ * TCP_NODELAY set
005+ * Connected to localhost (::1) port 8964 (#0)
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ > GET / HTTP/1.1
007+ Host: localhost:8964
008+ Accept: */*
009+
010+ < HTTP/1.1 200 OK
011+ < Host: localhost:8964
012+ < Date: Sat, 06 Jul 2019 07:57:40 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0alpha2
015+ < Content-type: text/html; charset=UTF-8
016+ <
017+ Hello World!
018+ Hello World!* Curl_http_done: called premature == 0
019+ * Closing connection 0
020+ Ok
1 (33%)
003+ * Trying 127.0.0.1...
004+ * TCP_NODELAY set
005+ * Connected to localhost (127.0.0.1) port 8964 (#0)
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ > GET / HTTP/1.1
007+ Host: localhost:8964
008+ Accept: */*
009+
010+ < HTTP/1.1 200 OK
011+ < Host: localhost:8964
012+ < Date: Mon, 05 Aug 2019 05:28:01 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0alpha2
015+ < Content-type: text/html; charset=UTF-8
016+ <
017+ Hello World!
018+ Hello World!* Curl_http_done: called premature == 0
019+ * Closing connection 0
020+ Ok