Test: /ext/standard/tests/file/bug52820.phpt - Version 5.3.10        

Bug #52820 curl doesn't write to php://temp or /memory
Submitted: 2010-09-12 02:05:23 Modified: 2010-11-15 19:23:22
From: klawd+phpbugs Assigned: cataphract
Status: Closed Package: Streams related
PHP Version: 5.3.3 OS: Ubuntu

There are 23 different diffs reported by users for this test.

Count Diff
515 (68%)
003+ * About to connect() to 127.0.0.1 port 37349
003- * About to connect() to 127.0.0.1 port 37349 (#0)
010+ * About to connect() to 127.0.0.1 port 37349
010- * About to connect() to 127.0.0.1 port 37349 (#0)
141 (19%)
004+ * Trying 127.0.0.1...
005+ * Connection refused
004- * Trying 127.0.0.1... * Connection refused
011- * Trying 127.0.0.1... * Connection refused
012+ * Trying 127.0.0.1...
013+ * Connection refused
22 (3%)
003+ * About to connect() to 127.0.0.1 port 37349
003- * About to connect() to 127.0.0.1 port 37349 (#0)
005- * couldn't connect to host
009+ * About to connect() to 127.0.0.1 port 37349
010- * About to connect() to 127.0.0.1 port 37349 (#0)
012- * couldn't connect to host
17 (2%)
004+ * Trying 127.0.0.1...
005+ * Connection refused
006+ * Failed connect to 127.0.0.1:37349; Connection refused
007+ * Closing connection 0
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
011+ * About to connect() to 127.0.0.1 port 37349 (#1)
012+ * Trying 127.0.0.1...
013+ * Connection refused
014+ * Failed connect to 127.0.0.1:37349; Connection refused
015+ * Closing connection 1
14 (2%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * connect to 127.0.0.1 port 37349 failed: Connection refused
006+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
007+ * Closing connection 0
003- * About to connect() to 127.0.0.1 port 37349 (#0)
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
011+ * Hostname was found in DNS cache
012+ * Trying 127.0.0.1...
013+ * connect to 127.0.0.1 port 37349 failed: Connection refused
014+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
015+ * Closing connection 1
9 (1%)
003+ * Trying 127.0.0.1...
004+ * connect to 127.0.0.1 port 37349 failed: Connection refused
005+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
006+ * Closing connection 0
003- * About to connect() to 127.0.0.1 port 37349 (#0)
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010+ * Hostname 127.0.0.1 was found in DNS cache
011+ * Trying 127.0.0.1...
012+ * connect to 127.0.0.1 port 37349 failed: Connection refused
013+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
014+ * Closing connection 0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
7 (1%)
003+ * Trying 127.0.0.1...
004+ * TCP_NODELAY set
005+ * connect to 127.0.0.1 port 37349 failed: Connection refused
006+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
007+ * Closing connection 0
003- * About to connect() to 127.0.0.1 port 37349 (#0)
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
011+ * Hostname 127.0.0.1 was found in DNS cache
012+ * Trying 127.0.0.1...
013+ * TCP_NODELAY set
014+ * connect to 127.0.0.1 port 37349 failed: Connection refused
015+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
016+ * Closing connection 0
5 (1%)
004+ * Trying 127.0.0.1... * Failed to connect to 127.0.0.1: Connection refused
005+ * Unknown error: 0
004- * Trying 127.0.0.1... * Connection refused
011- * Trying 127.0.0.1... * Connection refused
012+ * Trying 127.0.0.1... * Failed to connect to 127.0.0.1: Connection refused
013+ * Unknown error: 0
3 (0%)
003+ * Trying 127.0.0.1:37349...
004+ * TCP_NODELAY set
005+ * connect to 127.0.0.1 port 37349 failed: Connection refused
006+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
007+ * Closing connection 0
003- * About to connect() to 127.0.0.1 port 37349 (#0)
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
011+ * Trying 127.0.0.1:37349...
012+ * TCP_NODELAY set
013+ * connect to 127.0.0.1 port 37349 failed: Connection refused
014+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
015+ * Closing connection 0
3 (0%)
2 (0%)
004+ * Trying 127.0.0.1...
005+ * Operation timed out
004- * Trying 127.0.0.1... * Connection refused
011- * Trying 127.0.0.1... * Connection refused
012+ * Trying 127.0.0.1...
013+ * Operation timed out
2 (0%)
003+ * About to connect() to 127.0.0.1:37349
004+ * socket error: 111
003- * About to connect() to 127.0.0.1 port 37349 (#0)
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
009+ * About to connect() to 127.0.0.1:37349
010+ * socket error: 111
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
2 (0%)
003+ * Trying 127.0.0.1...
004+ * TCP_NODELAY set
005+ * Connection failed
006+ * connect to 127.0.0.1 port 37349 failed: Connection refused
007+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
008+ * Closing connection 0
003- * About to connect() to 127.0.0.1 port 37349 (#0)
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
012+ * Hostname 127.0.0.1 was found in DNS cache
013+ * Trying 127.0.0.1...
014+ * TCP_NODELAY set
015+ * Connection failed
016+ * connect to 127.0.0.1 port 37349 failed: Connection refused
017+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
018+ * Closing connection 0
1 (0%)
004+ * Trying 127.0.0.1... * Operation timed out
004- * Trying 127.0.0.1... * Connection refused
011+ * Trying 127.0.0.1... * Operation timed out
011- * Trying 127.0.0.1... * Connection refused
1 (0%)
004+ * Trying 127.0.0.1... * Connection timed out
004- * Trying 127.0.0.1... * Connection refused
011+ * Trying 127.0.0.1... * Connection timed out
011- * Trying 127.0.0.1... * Connection refused
1 (0%)
004+ * Trying 127.0.0.1...
005+ * Connection refused
006+ * couldn't connect to host at 127.0.0.1:37349
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
012+ * Trying 127.0.0.1...
013+ * Connection refused
014+ * couldn't connect to host at 127.0.0.1:37349
1 (0%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x2fed130
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x2fed130) send_pipe: 1, recv_pipe: 0
010+ * Connection refused
011+ * Failed connect to 127.0.0.1:37349; Connection refused
012+ * Closing connection 0
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
016+ * About to connect() to 127.0.0.1 port 37349 (#1)
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x2fed450
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x2fed450) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1
1 (0%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x2966e10
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x2966e10) send_pipe: 1, recv_pipe: 0
010+ * Connection refused
011+ * Failed connect to 127.0.0.1:37349; Connection refused
012+ * Closing connection 0
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
016+ * About to connect() to 127.0.0.1 port 37349 (#1)
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x2967100
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x2967100) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1
1 (0%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x18b09d50
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x18b09d50) send_pipe: 1, recv_pipe: 0
010+ * Connection refused
011+ * Failed connect to 127.0.0.1:37349; Connection refused
012+ * Closing connection 0
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
016+ * About to connect() to 127.0.0.1 port 37349 (#1)
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x18b09d50
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x18b09d50) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1
1 (0%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x146acc0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x146acc0) send_pipe: 1, recv_pipe: 0
010+ * Connection refused
011+ * Failed connect to 127.0.0.1:37349; Connection refused
012+ * Closing connection 0
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
016+ * About to connect() to 127.0.0.1 port 37349 (#1)
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x146ace0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x146ace0) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1
1 (0%)
003+ * Input domain encoded as `UTF-8'
004+ * Failed to convert ��� to ACE; String preparation failed
005+ * getaddrinfo(3) failed for ���:80
006+ * Couldn't resolve host '���'
003- * About to connect() to 127.0.0.1 port 37349 (#0)
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
010- * About to connect() to 127.0.0.1 port 37349 (#0)
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
011+ * Input domain encoded as `UTF-8'
012+ * Failed to convert ��� to ACE; String preparation failed
013+ * getaddrinfo(3) failed for ���:80
014+ * Couldn't resolve host '���'