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

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

Count Diff
1 (10%)
001- Warning: curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %sbug48203.php on line %d
003- Ok
1 (10%)
001+ Warning: molten_curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %s/bug48203.php on line 13
002+ * About to connect() to localhost port 8964 (#0)
003+ * Trying 127.0.0.1...
004+ * Connected to localhost (127.0.0.1) port 8964 (#0)
005+ > GET / HTTP/1.1
006+ Host: localhost:8964
007+ Accept: */*
008+ X-W-TraceId: a28902b8096f47cb
009+ X-W-SpanId: 647896e5025fa4be
010+ X-W-ParentSpanId: 5b42cee6427c8c28
011+ X-W-Sampled: 1
012+ X-W-Flags: 0
013+
014+ < HTTP/1.1 200 OK
015+ < Host: localhost:8964
016+ < Connection: close
017+ < X-Powered-By: PHP/7.0.13
018+ < Content-type: text/html; charset=UTF-8
019+ <
020+ Hello World!
001- Warning: curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %sbug48203.php on line %d
1 (10%)
001+ Warning: ketrace_curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %s/bug48203.php on line 13
002+ * About to connect() to localhost port 8964 (#0)
003+ * Trying 127.0.0.1...
004+ * Connected to localhost (127.0.0.1) port 8964 (#0)
005+ > GET / HTTP/1.1
006+ Host: localhost:8964
007+ Accept: */*
008+ KETRACETraceId: test-10.26.29.117-1604403665-NgbLRV8h23
009+ KETRACESpanId: 1
010+ KETRACEParentSpanId: 0
011+ KETRACEForceSampling: 1
012+ KETRACEFlags: 0
013+
014+ < HTTP/1.1 200 OK
015+ < Host: localhost:8964
016+ < Connection: close
017+ < X-Powered-By: PHP/7.0.13
018+ < Content-type: text/html; charset=UTF-8
019+ <
020+ Hello World!
021+ Hello World!* Closing connection 0
022+
001- Warning: curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %sbug48203.php on line %d
1 (10%)
001+ PHP 7.0.13 Development Server started at Wed Dec 7 01:35:20 2016
002+
003- Ok
005+ * Trying ::1...
006+ * TCP_NODELAY set
007+ * connect to ::1 port 8964 failed: Connection refused
008+ * Trying 127.0.0.1...
009+ * TCP_NODELAY set
010+ * Connected to localhost (127.0.0.1) port 8964 (#0)
011+ > GET / HTTP/1.1
012+ Host: localhost:8964
013+ Accept: */*
014+
015+ < HTTP/1.1 200 OK
016+ < Host: localhost:8964
017+ < Connection: close
018+ < X-Powered-By: PHP/7.0.13
019+ < Content-type: text/html; charset=UTF-8
020+ <
021+ Hello World!
022+ Hello World!* Curl_http_done: called premature == 0
023+ * Closing connection 0
024+ Ok
1 (10%)
001+ PHP 7.0.13 Development Server started at Wed Dec 7 01:20:31 2016
002+
003- Ok
005+ * Trying ::1...
006+ * TCP_NODELAY set
007+ * connect to ::1 port 8964 failed: Connection refused
008+ * Trying 127.0.0.1...
009+ * TCP_NODELAY set
010+ * Connected to localhost (127.0.0.1) port 8964 (#0)
011+ > GET / HTTP/1.1
012+ Host: localhost:8964
013+ Accept: */*
014+
015+ < HTTP/1.1 200 OK
016+ < Host: localhost:8964
017+ < Connection: close
018+ < X-Powered-By: PHP/7.0.13
019+ < Content-type: text/html; charset=UTF-8
020+ <
021+ Hello World!
022+ Hello World!* Curl_http_done: called premature == 0
023+ * Closing connection 0
024+ Ok
1 (10%)
001+ PHP 7.0.13 Development Server started at Tue Dec 6 14:33:02 2016
002+
003- Ok
005+ * Trying ::1...
006+ * TCP_NODELAY set
007+ * connect to ::1 port 8964 failed: Connection refused
008+ * Trying 127.0.0.1...
009+ * TCP_NODELAY set
010+ * Connected to localhost (127.0.0.1) port 8964 (#0)
011+ > GET / HTTP/1.1
012+ Host: localhost:8964
013+ Accept: */*
014+
015+ < HTTP/1.1 200 OK
016+ < Host: localhost:8964
017+ < Connection: close
018+ < X-Powered-By: PHP/7.0.13
019+ < Content-type: text/html; charset=UTF-8
020+ <
021+ Hello World!
022+ Hello World!* Curl_http_done: called premature == 0
023+ * Closing connection 0
024+ Ok
1 (10%)
001+ PHP 7.0.13 Development Server started at Sun Jan 29 12:45:01 2017
002+
003- Ok
005+ * Trying ::1...
006+ * TCP_NODELAY set
007+ * Connected to localhost (::1) port 8964 (#0)
008+ > GET / HTTP/1.1
009+ Host: localhost:8964
010+ Accept: */*
011+
012+ < HTTP/1.1 200 OK
013+ < Host: localhost:8964
014+ < Connection: close
015+ < X-Powered-By: PHP/7.0.13
016+ < Content-type: text/html; charset=UTF-8
017+ <
018+ Hello World!
019+ Hello World!* Curl_http_done: called premature == 0
020+ * Closing connection 0
021+ Ok
1 (10%)
001+ PHP 7.0.13 Development Server started at Fri Nov 25 17:29:28 2016
002+
003- Ok
005+ * Trying ::1...
006+ * TCP_NODELAY set
007+ * Connected to localhost (::1) port 8964 (#0)
008+ > GET / HTTP/1.1
009+ Host: localhost:8964
010+ Accept: */*
011+
012+ < HTTP/1.1 200 OK
013+ < Host: localhost:8964
014+ < Connection: close
015+ < X-Powered-By: PHP/7.0.13
016+ < Content-type: text/html; charset=UTF-8
017+ <
018+ Hello World!
019+ Hello World!* Curl_http_done: called premature == 0
020+ * Closing connection 0
021+ Ok
1 (10%)
001+ PHP 7.0.13 Development Server started at Fri Nov 25 16:37:59 2016
002+
003- Ok
005+ * Trying ::1...
006+ * TCP_NODELAY set
007+ * Connected to localhost (::1) port 8964 (#0)
008+ > GET / HTTP/1.1
009+ Host: localhost:8964
010+ Accept: */*
011+
012+ < HTTP/1.1 200 OK
013+ < Host: localhost:8964
014+ < Connection: close
015+ < X-Powered-By: PHP/7.0.13
016+ < Content-type: text/html; charset=UTF-8
017+ <
018+ Hello World!
019+ Hello World!* Curl_http_done: called premature == 0
020+ * Closing connection 0
021+ Ok
1 (10%)
001+ PHP 7.0.13 Development Server started at Fri Jan 6 22:16:48 2017
002+
003- Ok
005+ * Trying ::1...
006+ * TCP_NODELAY set
007+ * Connected to localhost (::1) port 8964 (#0)
008+ > GET / HTTP/1.1
009+ Host: localhost:8964
010+ Accept: */*
011+
012+ < HTTP/1.1 200 OK
013+ < Host: localhost:8964
014+ < Connection: close
015+ < X-Powered-By: PHP/7.0.13
016+ < Content-type: text/html; charset=UTF-8
017+ <
018+ Hello World!
019+ Hello World!* Curl_http_done: called premature == 0
020+ * Closing connection 0
021+ Ok