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

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

Count Diff
11 (18%)
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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
012+ * Trying 127.0.0.1...
013+ * Connection refused
014+ * Failed connect to 127.0.0.1:37349; Connection refused
015+ * Closing connection 1
3 (5%)
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%r.*%r
004- * Trying 127.0.0.1...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349%r.*%r
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
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
1 (2%)
005- * couldn't connect to host%S
012- * couldn't connect to host%S
1 (2%)
004+ * Trying 127.0.0.1...
005+ * Failed to connect to 127.0.0.1: Connection refused
004- * Trying 127.0.0.1...%A* Connection refused
006- * Closing connection #0
007+ * Closing connection 0
011- * Trying 127.0.0.1...%A* Connection refused
012+ * Trying 127.0.0.1...
013+ * Failed to connect to 127.0.0.1: Connection refused
013- * Closing connection #0
015+ * Closing connection 1
1 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xdab8f90
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xdab8f90) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xdab8f90
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xdab8f90) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xd465f00
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xd465f00) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xd465f00
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xd465f00) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xc8daf90
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xc8daf90) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xc8daf90
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xc8daf90) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xbae0f90
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xbae0f90) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xbae0f90
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xbae0f90) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xb0d3f90
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xb0d3f90) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xb0d3f90
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xb0d3f90) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xa589410
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xa589410) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xa589410
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xa589410) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xa457cd0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xa457cd0) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xa457cd0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xa457cd0) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xa00b578
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xa00b578) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xa00b578
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xa00b578) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x9d42cd0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x9d42cd0) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x9d42cd0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x9d42cd0) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x992f1c0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x992f1c0) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x992f1c0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x992f1c0) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x96191f8
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x96191f8) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x96191f8
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x96191f8) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x941a1c0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x941a1c0) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x941a1c0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x941a1c0) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x8f29f00
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x8f29f00) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x8f29f00
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x8f29f00) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x7b85400
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x7b85400) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x7b85400
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x7b85400) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x712ccd0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x712ccd0) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x712ccd0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x712ccd0) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x51e6f90
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x51e6f90) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x51e6f90
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x51e6f90) 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 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x421dcf0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x421dcf0) 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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x421dcf0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x421dcf0) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1