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

Count Diff
22 (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: Fri, 01 Jan 2021 00:36: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: Fri, 01 Jan 2021 23:03:35 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: Fri, 01 May 2020 00:46:03 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: Fri, 01 May 2020 23:03:38 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: Fri, 01 Nov 2019 23:03:27 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: Fri, 02 Apr 2021 00:32:46 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: Fri, 02 Apr 2021 23:03:01 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: Fri, 02 Oct 2020 00:40:58 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: Fri, 02 Oct 2020 23:03: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: Fri, 03 Apr 2020 00:44: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: Fri, 03 Apr 2020 23:03:20 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: Fri, 03 Jan 2020 00:48:49 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: Fri, 03 Jan 2020 23:02:23 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: Fri, 03 Jul 2020 00:42:59 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: Fri, 03 Jul 2020 23:03:13 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: Fri, 04 Jun 2021 00:33: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: Fri, 04 Jun 2021 23:03: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: Fri, 04 Sep 2020 00:43: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: Fri, 04 Sep 2020 23:03:37 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: Fri, 05 Feb 2021 00:41:17 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