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

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

Count Diff
1 (6%)
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: Wed, 04 Dec 2019 07:44:27 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Tue, 03 Dec 2019 21:16:41 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Tue, 03 Dec 2019 16:06:31 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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, 28 Nov 2019 12:20:22 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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, 05 Dec 2019 19:06:19 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Sun, 25 Dec 2022 15:50:01 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Sun, 23 Feb 2020 12:01:31 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Sun, 05 Apr 2020 19:02:18 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Mon, 09 Dec 2019 22:16:20 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Mon, 02 Dec 2019 21:21:17 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Fri, 29 Nov 2019 02:01:49 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Wed, 04 Jan 2023 11:10:04 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Tue, 24 Dec 2019 11:33:48 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Tue, 03 Dec 2019 12:42:54 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Thu, 12 Dec 2019 12:04:39 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Sun, 08 Dec 2019 15:45:51 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Sat, 14 Dec 2019 15:40:22 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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 (6%)
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: Fri, 13 Dec 2019 17:02:11 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0
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