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

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

Count Diff
1 (5%)
003+ * Added connection 0. The cache now contains 1 members
004+ * STATE: CONNECT => WAITRESOLVE handle 0x52ba4000; line 1532 (connection #0)
005+ * Trying 127.0.0.1:8964...
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ * TCP_NODELAY set
007+ * STATE: WAITRESOLVE => WAITCONNECT handle 0x52ba4000; line 1611 (connection #0)
008+ * Connected to localhost (127.0.0.1) port 8964 (#0)
009+ * STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x52ba4000; line 1667 (connection #0)
010+ * Marked for [keep alive]: HTTP default
011+ * STATE: SENDPROTOCONNECT => DO handle 0x52ba4000; line 1685 (connection #0)
012+ > GET / HTTP/1.1
013+ Host: localhost:8964
014+ Accept: */*
015+
016+ * STATE: DO => DO_DONE handle 0x52ba4000; line 1756 (connection #0)
017+ * STATE: DO_DONE => PERFORM handle 0x52ba4000; line 1877 (connection #0)
018+ * Mark bundle as not supporting multiuse
019+ * HTTP 1.1 or later with persistent connection
020+ < HTTP/1.1 200 OK
021+ < Host: localhost:8964
022+ < Date: Thu, 19 Dec 2019 10:44:54 GMT
023+ * Marked for [closure]: Connection: close used
024+ < Connection: close
025+ < X-Powered-By: PHP/7.4.1
026+ < Content-type: text/html; charset=UTF-8
027+ <
028+ Hello World!
029+ Hello World!* nread <= 0, server closed connection, bailing
030+ * STATE: PERFORM => DONE handle 0x52ba4000; line 2067 (connection #0)
031+ * multi_done
032+ * Closing connection 0
033+ * The cache now contains 0 members
034+ * Expire cleared (transfer 0x52ba4000)
035+ Ok
1 (5%)
003+ * Trying ::1... * connected
004+ * Connected to localhost (::1) port 8964 (#0)
005+ > GET / HTTP/1.1
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ Host: localhost:8964
007+ Accept: */*
008+
009+ < HTTP/1.1 200 OK
010+ < Host: localhost:8964
011+ < Date: Tue, 07 Jan 2020 06:17:35 GMT
012+ < Connection: close
013+ < X-Powered-By: PHP/7.4.1
014+ < Content-type: text/html; charset=UTF-8
015+ <
016+ Hello World!
017+ Hello World!* Closing connection #0
018+ Ok
1 (5%)
003+ * Trying ::1... * connected
004+ * Connected to localhost (::1) port 8964 (#0)
005+ > GET / HTTP/1.1
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ Host: localhost:8964
007+ Accept: */*
008+
009+ < HTTP/1.1 200 OK
010+ < Host: localhost:8964
011+ < Date: Mon, 30 Dec 2019 08:21:06 GMT
012+ < Connection: close
013+ < X-Powered-By: PHP/7.4.1
014+ < Content-type: text/html; charset=UTF-8
015+ <
016+ Hello World!
017+ Hello World!* Closing connection #0
018+ Ok
1 (5%)
003+ * Trying ::1...
004+ * connected
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+ * additional stuff not fine transfer.c:1042: 0 0
011+ * HTTP 1.1 or later with persistent connection, pipelining supported
012+ < HTTP/1.1 200 OK
013+ < Host: localhost:8964
014+ < Date: Tue, 24 Dec 2019 10:07:49 GMT
015+ < Connection: close
016+ < X-Powered-By: PHP/7.4.1
017+ < Content-type: text/html; charset=UTF-8
018+ <
019+ Hello World!
020+ Hello World!* nread <= 0, server closed connection, bailing
021+ * Closing connection #0
022+ Ok
1 (5%)
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, 25 Dec 2019 02:54:02 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 09 Jan 2020 08:04:42 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 02 Jan 2020 15:43:56 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 22 Dec 2019 02:07:15 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 21 Dec 2019 10:35:30 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 23 Dec 2019 07:27:06 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
003+ * Trying 127.0.0.1... * connected
004+ > GET / HTTP/1.1
005+ Host: localhost:8964
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ Accept: */*
007+
008+ < HTTP/1.1 200 OK
009+ < Host: localhost:8964
010+ < Date: Sat, 21 Dec 2019 10:39:50 GMT
011+ < Connection: close
012+ < X-Powered-By: PHP/7.4.1
013+ < Content-type: text/html; charset=UTF-8
014+ <
015+ Hello World!
016+ Hello World!* Closing connection #0
017+ Ok
1 (5%)
003+ * Trying 127.0.0.1... * connected
004+ * Connected to localhost (127.0.0.1) port 8964 (#0)
005+ > GET / HTTP/1.1
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ Host: localhost:8964
007+ Accept: */*
008+
009+ < HTTP/1.1 200 OK
010+ < Host: localhost:8964
011+ < Date: Thu, 09 Jan 2020 04:49:49 GMT
012+ < Connection: close
013+ < X-Powered-By: PHP/7.4.1
014+ < Content-type: text/html; charset=UTF-8
015+ <
016+ Hello World!
017+ Hello World!* Closing connection #0
018+ Ok
1 (5%)
003+ * Trying 127.0.0.1... * connected
004+ * Connected to localhost (127.0.0.1) port 8964 (#0)
005+ > GET / HTTP/1.1
003- Hello World!
004- Hello World!* Closing connection 0
005- Ok
006+ Host: localhost:8964
007+ Accept: */*
008+
009+ < HTTP/1.1 200 OK
010+ < Host: localhost:8964
011+ < Date: Thu, 09 Jan 2020 04:29:29 GMT
012+ < Connection: close
013+ < X-Powered-By: PHP/7.4.1
014+ < Content-type: text/html; charset=UTF-8
015+ <
016+ Hello World!
017+ Hello World!* Closing connection #0
018+ Ok
1 (5%)
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 13:44:34 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 18 Dec 2019 13:40:48 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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 21:10:40 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 09 Jan 2020 02:27:38 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 19 Jan 2020 03:13:02 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 09 Feb 2020 09:36:53 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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 (5%)
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, 11 Jan 2020 12:58:05 GMT
013+ < Connection: close
014+ < X-Powered-By: PHP/7.4.1
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