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

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

Count Diff
43 (68%)
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
5 (8%)
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... * Connection refused
005- * couldn't connect to host
006- * Closing connection #0
010- * About to connect() to 127.0.0.1 port 37349%r.*%r
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
4 (6%)
005- * couldn't connect to host
012- * couldn't connect to host
2 (3%)
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
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
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 (3%)
002- About to rewind!
003- * About to connect() to 127.0.0.1 port 37349%r.*%r
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
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... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
014-
015- Done.
1 (2%)
004+ * Trying 127.0.0.1... * Unknown error 111
004- * Trying 127.0.0.1... * Connection refused
011+ * Trying 127.0.0.1... * Unknown error 111
011- * Trying 127.0.0.1... * Connection refused
1 (2%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x9807a10
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x9807a10) 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
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
017+ * Trying 127.0.0.1...
018+ * Adding handle: conn: 0x9807a10
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x9807a10) 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%)
003+ * STATE: INIT => CONNECT handle 0x8067e2000; line 1397 (connection #-5000)
004+ * Added connection 0. The cache now contains 1 members
005+ * Trying 127.0.0.1...
006+ * TCP_NODELAY set
007+ * STATE: CONNECT => WAITCONNECT handle 0x8067e2000; line 1450 (connection #0)
008+ * connect to 127.0.0.1 port 37349 failed: Connection refused
009+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
010+ * Closing connection 0
011+ * The cache now contains 0 members
012+ * Expire cleared
003- * About to connect() to 127.0.0.1 port 37349%r.*%r
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%r.*%r
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
016+ * STATE: INIT => CONNECT handle 0x8067f4000; line 1397 (connection #-5000)
017+ * Added connection 0. The cache now contains 1 members
018+ * Hostname 127.0.0.1 was found in DNS cache
019+ * Trying 127.0.0.1...
020+ * TCP_NODELAY set
021+ * STATE: CONNECT => WAITCONNECT handle 0x8067f4000; line 1450 (connection #0)
022+ * connect to 127.0.0.1 port 37349 failed: Connection refused
023+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
024+ * Closing connection 0
025+ * The cache now contains 0 members
026+ * Expire cleared
1 (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%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%)
003+ * <url> malformed
003- * About to connect() to 127.0.0.1 port 37349%r.*%r
004- * Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
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... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
1 (2%)
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%r.*%r
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%r.*%r
011- * Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
013- * Closing connection #0
1 (2%)
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%r.*%r
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%r.*%r
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