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

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

Count Diff
39 (2%)
003+ Hello World!Ok
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
1 (0%)
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, 31 Mar 2021 23:02:56 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 31 Mar 2021 00:31:52 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Sep 2020 23:03:32 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Sep 2020 00:43:53 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Oct 2019 23:08:52 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Mar 2022 23:09:34 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Mar 2022 00:43:07 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Jun 2021 23:03:08 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Jun 2021 00:32:52 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Dec 2020 23:03:19 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 30 Dec 2020 00:35:33 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Sep 2021 23:04:31 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Sep 2021 00:43:28 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Jul 2020 23:03:50 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Jul 2020 00:43:11 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Jan 2020 23:04:15 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Jan 2020 00:53:50 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Dec 2021 23:05:24 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Dec 2021 00:13:41 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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 (0%)
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, 29 Apr 2020 23:02:50 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.0RC4
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