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

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

Count Diff
68 (42%)
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
8 (5%)
005- * couldn't connect to host%S
012- * couldn't connect to host%S
6 (4%)
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 0
6 (4%)
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
2 (1%)
2 (1%)
002- About to rewind!
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
003+ ** ERROR: process timed out **
008- memory stream (close after):
009- About to rewind!
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
014-
015- Done.
1 (1%)
003+ * <url> malformed
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
007+ * <url> malformed
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
1 (1%)
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%r.*%r
004- * Trying 127.0.0.1...%A* Connection refused
005- * couldn't connect to host%S
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%r.*%r
011- * Trying 127.0.0.1...%A* Connection refused
012- * couldn't connect to host%S
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x15389920
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x15389920) send_pipe: 1, recv_pipe: 0
010+ * connect to 127.0.0.1 port 37349 failed: Connection refused
011+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
012+ * 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
016+ * Hostname was found in DNS cache
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x15389c10
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x15389c10) send_pipe: 1, recv_pipe: 0
023+ * connect to 127.0.0.1 port 37349 failed: Connection refused
024+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
025+ * Closing connection 1
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x16f07980
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x16f07980) send_pipe: 1, recv_pipe: 0
010+ * connect to 127.0.0.1 port 37349 failed: Connection refused
011+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
012+ * 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
016+ * Hostname was found in DNS cache
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x16f07c70
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x16f07c70) send_pipe: 1, recv_pipe: 0
023+ * connect to 127.0.0.1 port 37349 failed: Connection refused
024+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
025+ * Closing connection 1
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x18eacd30
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x18eacd30) send_pipe: 1, recv_pipe: 0
010+ * connect to 127.0.0.1 port 37349 failed: Connection refused
011+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
012+ * 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
016+ * Hostname was found in DNS cache
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x18ead020
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x18ead020) send_pipe: 1, recv_pipe: 0
023+ * connect to 127.0.0.1 port 37349 failed: Connection refused
024+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
025+ * Closing connection 1
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x2726220
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x2726220) send_pipe: 1, recv_pipe: 0
010+ * connect to 127.0.0.1 port 37349 failed: Connection refused
011+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
012+ * 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
016+ * Hostname was found in DNS cache
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x2726510
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x2726510) send_pipe: 1, recv_pipe: 0
023+ * connect to 127.0.0.1 port 37349 failed: Connection refused
024+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
025+ * Closing connection 1
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x370dbc0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x370dbc0) send_pipe: 1, recv_pipe: 0
010+ * connect to 127.0.0.1 port 37349 failed: Connection refused
011+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
012+ * 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
016+ * Hostname was found in DNS cache
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x370deb0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x370deb0) send_pipe: 1, recv_pipe: 0
023+ * connect to 127.0.0.1 port 37349 failed: Connection refused
024+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
025+ * Closing connection 1
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x7fa10c003400
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x7fa10c003400) send_pipe: 1, recv_pipe: 0
010+ * Connection failed
011+ * connect to 127.0.0.1 port 37349 failed: Connection refused
012+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
013+ * 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
017+ * Hostname was found in DNS cache
018+ * Trying 127.0.0.1...
019+ * Adding handle: conn: 0x7fa10b003000
020+ * Adding handle: send: 0
021+ * Adding handle: recv: 0
022+ * Curl_addHandleToPipeline: length: 1
023+ * - Conn 1 (0x7fa10b003000) send_pipe: 1, recv_pipe: 0
024+ * Connection failed
025+ * connect to 127.0.0.1 port 37349 failed: Connection refused
026+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
027+ * Closing connection 1
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xd4d0900
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xd4d0900) send_pipe: 1, recv_pipe: 0
010+ * connect to 127.0.0.1 port 37349 failed: Connection refused
011+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
012+ * 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
016+ * Hostname was found in DNS cache
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xd4d0bf0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xd4d0bf0) send_pipe: 1, recv_pipe: 0
023+ * connect to 127.0.0.1 port 37349 failed: Connection refused
024+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
025+ * Closing connection 1
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0xef9e1c0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0xef9e1c0) send_pipe: 1, recv_pipe: 0
010+ * connect to 127.0.0.1 port 37349 failed: Connection refused
011+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
012+ * 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
016+ * Hostname was found in DNS cache
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0xef9e4b0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0xef9e4b0) send_pipe: 1, recv_pipe: 0
023+ * connect to 127.0.0.1 port 37349 failed: Connection refused
024+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
025+ * Closing connection 1
1 (1%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
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%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
012+ * Hostname was found in DNS cache
013+ * Trying 127.0.0.1...
014+ * Connection failed
015+ * connect to 127.0.0.1 port 37349 failed: Connection refused
016+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
017+ * Closing connection 1
1 (1%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x144d960
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x144d960) 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: 0x144dcb0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x144dcb0) 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 (1%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x1457730
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x1457730) 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: 0x1457a60
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x1457a60) 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 (1%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x158e4f0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x158e4f0) 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: 0x158e810
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x158e810) 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 (1%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x182e4f0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x182e4f0) 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: 0x182e810
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x182e810) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1