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

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

Count Diff
1071 (59%)
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
282 (15%)
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
175 (10%)
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
143 (8%)
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...%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 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
99 (5%)
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...%A* Connection refused
005- * couldn't connect to host%S
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...%A* Connection refused
012- * couldn't connect to host%S
013- * Closing connection #0
6 (0%)
4 (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%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+ * 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
2 (0%)
003+ * Trying 127.0.0.1...
004+ * TCP_NODELAY set
005+ * connect to 127.0.0.1 port 37349 failed: Operation timed out
006+ * Failed to connect to 127.0.0.1 port 37349: Operation timed out
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 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: Operation timed out
015+ * Failed to connect to 127.0.0.1 port 37349: Operation timed out
016+ * Closing connection 0
2 (0%)
005- * couldn't connect to host%S
012- * couldn't connect to host%S
1 (0%)
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 (0%)
003+ * Trying 127.0.0.1...
004+ * Immediate connect fail for 127.0.0.1: Connection refused
005+ * 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
009+ * Hostname 127.0.0.1 was found in DNS cache
010+ * Trying 127.0.0.1...
011+ * Immediate connect fail for 127.0.0.1: Connection refused
012+ * 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
1 (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%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 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%)
003+ * Trying 127.0.0.1:37349...
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...%A* Connection refused
005- * couldn't connect to host%S
006- * Closing connection #0
010+ * Trying 127.0.0.1:37349...
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
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 (0%)
003+ * Trying 127.0.0.1:37349...
004+ * connect to 127.0.0.1 port 37349 failed: Operation timed out
005+ * Failed to connect to 127.0.0.1 port 37349: Operation timed out
006+ * 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+ * Trying 127.0.0.1:37349...
011+ * connect to 127.0.0.1 port 37349 failed: Operation timed out
012+ * Failed to connect to 127.0.0.1 port 37349: Operation timed out
013+ * 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
1 (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%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 (0%)
003+ * Expire in 0 ms for 6 (transfer 0x5557ff87e0e0)
004+ * Trying 127.0.0.1...
005+ * TCP_NODELAY set
006+ * Expire in 200 ms for 4 (transfer 0x5557ff87e0e0)
007+ * connect to 127.0.0.1 port 37349 failed: Connection refused
008+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
009+ * 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
013+ * Expire in 0 ms for 6 (transfer 0x5557ff87e0e0)
014+ * Trying 127.0.0.1...
015+ * TCP_NODELAY set
016+ * Expire in 200 ms for 4 (transfer 0x5557ff87e0e0)
017+ * connect to 127.0.0.1 port 37349 failed: Connection refused
018+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
019+ * Closing connection 0
1 (0%)
003+ * Expire in 0 ms for 6 (transfer 0x555c1f9ec0e0)
004+ * Trying 127.0.0.1...
005+ * TCP_NODELAY set
006+ * Expire in 200 ms for 4 (transfer 0x555c1f9ec0e0)
007+ * connect to 127.0.0.1 port 37349 failed: Connection refused
008+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
009+ * 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
013+ * Expire in 0 ms for 6 (transfer 0x555c1f9ec0e0)
014+ * Trying 127.0.0.1...
015+ * TCP_NODELAY set
016+ * Expire in 200 ms for 4 (transfer 0x555c1f9ec0e0)
017+ * connect to 127.0.0.1 port 37349 failed: Connection refused
018+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
019+ * Closing connection 0
1 (0%)
003+ * Expire in 0 ms for 6 (transfer 0x5567a6453640)
004+ * Trying 127.0.0.1...
005+ * TCP_NODELAY set
006+ * Expire in 200 ms for 4 (transfer 0x5567a6453640)
007+ * connect to 127.0.0.1 port 37349 failed: Connection refused
008+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
009+ * 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
013+ * Expire in 0 ms for 6 (transfer 0x5567a6453640)
014+ * Trying 127.0.0.1...
015+ * TCP_NODELAY set
016+ * Expire in 200 ms for 4 (transfer 0x5567a6453640)
017+ * connect to 127.0.0.1 port 37349 failed: Connection refused
018+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
019+ * Closing connection 0
1 (0%)
003+ * Expire in 0 ms for 6 (transfer 0x55925fd34d60)
004+ * Trying 127.0.0.1...
005+ * TCP_NODELAY set
006+ * Expire in 200 ms for 4 (transfer 0x55925fd34d60)
007+ * connect to 127.0.0.1 port 37349 failed: Connection refused
008+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
009+ * 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
013+ * Expire in 0 ms for 6 (transfer 0x55925fd34d60)
014+ * Trying 127.0.0.1...
015+ * TCP_NODELAY set
016+ * Expire in 200 ms for 4 (transfer 0x55925fd34d60)
017+ * connect to 127.0.0.1 port 37349 failed: Connection refused
018+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
019+ * Closing connection 0
1 (0%)
003+ * Expire in 0 ms for 6 (transfer 0x55994986ed50)
004+ * Trying 127.0.0.1...
005+ * TCP_NODELAY set
006+ * Expire in 200 ms for 4 (transfer 0x55994986ed50)
007+ * connect to 127.0.0.1 port 37349 failed: Connection refused
008+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
009+ * 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
013+ * Expire in 0 ms for 6 (transfer 0x55994987a380)
014+ * Trying 127.0.0.1...
015+ * TCP_NODELAY set
016+ * Expire in 200 ms for 4 (transfer 0x55994987a380)
017+ * connect to 127.0.0.1 port 37349 failed: Connection refused
018+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
019+ * Closing connection 0
1 (0%)
003+ * Expire in 0 ms for 6 (transfer 0x55d12eb24620)
004+ * Trying 127.0.0.1...
005+ * TCP_NODELAY set
006+ * Expire in 200 ms for 4 (transfer 0x55d12eb24620)
007+ * connect to 127.0.0.1 port 37349 failed: Connection refused
008+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
009+ * 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
013+ * Expire in 0 ms for 6 (transfer 0x55d12eb24620)
014+ * Trying 127.0.0.1...
015+ * TCP_NODELAY set
016+ * Expire in 200 ms for 4 (transfer 0x55d12eb24620)
017+ * connect to 127.0.0.1 port 37349 failed: Connection refused
018+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
019+ * Closing connection 0