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

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

Count Diff
9 (47%)
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
017- * About to connect() to 127.0.0.1 port 37349%r.*%r
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
019+ * Hostname was found in DNS cache
020+ * Trying 127.0.0.1...
021+ * connect to 127.0.0.1 port 37349 failed: Connection refused
022+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
023+ * Closing connection 2
024- * About to connect() to 127.0.0.1 port 37349%r.*%r
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
027+ * Hostname was found in DNS cache
028+ * Trying 127.0.0.1...
029+ * connect to 127.0.0.1 port 37349 failed: Connection refused
030+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
031+ * Closing connection 3
2 (11%)
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
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
020+ * Trying 127.0.0.1...
021+ * Connection refused
022+ * Failed connect to 127.0.0.1:37349; Connection refused
023+ * Closing connection 2
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
028+ * Trying 127.0.0.1...
029+ * Connection refused
030+ * Failed connect to 127.0.0.1:37349; Connection refused
031+ * Closing connection 3
1 (5%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x7feb19806000
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x7feb19806000) send_pipe: 1, recv_pipe: 0
010+ * Failed connect to 127.0.0.1:37349; Connection refused
011+ * 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
016+ * Trying 127.0.0.1...
017+ * Adding handle: conn: 0x7feb1a813600
018+ * Adding handle: send: 0
019+ * Adding handle: recv: 0
020+ * Curl_addHandleToPipeline: length: 1
021+ * - Conn 1 (0x7feb1a813600) send_pipe: 1, recv_pipe: 0
022+ * Failed connect to 127.0.0.1:37349; Connection refused
023+ * Closing connection 1
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
028+ * Trying 127.0.0.1...
029+ * Adding handle: conn: 0x7feb1b013600
030+ * Adding handle: send: 0
031+ * Adding handle: recv: 0
032+ * Curl_addHandleToPipeline: length: 1
033+ * - Conn 2 (0x7feb1b013600) send_pipe: 1, recv_pipe: 0
034+ * Failed connect to 127.0.0.1:37349; Connection refused
035+ * Closing connection 2
040+ * Trying 127.0.0.1...
041+ * Adding handle: conn: 0x7feb1b013600
042+ * Adding handle: send: 0
043+ * Adding handle: recv: 0
044+ * Curl_addHandleToPipeline: length: 1
045+ * - Conn 3 (0x7feb1b013600) send_pipe: 1, recv_pipe: 0
046+ * Failed connect to 127.0.0.1:37349; Connection refused
047+ * Closing connection 3
1 (5%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x364f1b0
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x364f1b0) 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: 0x364f4b0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x364f4b0) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
030+ * Trying 127.0.0.1...
031+ * Adding handle: conn: 0x364f4b0
032+ * Adding handle: send: 0
033+ * Adding handle: recv: 0
034+ * Curl_addHandleToPipeline: length: 1
035+ * - Conn 2 (0x364f4b0) send_pipe: 1, recv_pipe: 0
036+ * Connection refused
037+ * Failed connect to 127.0.0.1:37349; Connection refused
038+ * Closing connection 2
043+ * Trying 127.0.0.1...
044+ * Adding handle: conn: 0x364fd70
045+ * Adding handle: send: 0
046+ * Adding handle: recv: 0
047+ * Curl_addHandleToPipeline: length: 1
048+ * - Conn 3 (0x364fd70) send_pipe: 1, recv_pipe: 0
049+ * Connection refused
050+ * Failed connect to 127.0.0.1:37349; Connection refused
051+ * Closing connection 3
1 (5%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x2e1aa30
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x2e1aa30) 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: 0x2e1aa50
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x2e1aa50) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
030+ * Trying 127.0.0.1...
031+ * Adding handle: conn: 0x2e1aa50
032+ * Adding handle: send: 0
033+ * Adding handle: recv: 0
034+ * Curl_addHandleToPipeline: length: 1
035+ * - Conn 2 (0x2e1aa50) send_pipe: 1, recv_pipe: 0
036+ * Connection refused
037+ * Failed connect to 127.0.0.1:37349; Connection refused
038+ * Closing connection 2
043+ * Trying 127.0.0.1...
044+ * Adding handle: conn: 0x2e1ac70
045+ * Adding handle: send: 0
046+ * Adding handle: recv: 0
047+ * Curl_addHandleToPipeline: length: 1
048+ * - Conn 3 (0x2e1ac70) send_pipe: 1, recv_pipe: 0
049+ * Connection refused
050+ * Failed connect to 127.0.0.1:37349; Connection refused
051+ * Closing connection 3
1 (5%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x2bde510
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x2bde510) 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: 0x2bde4b0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x2bde4b0) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
030+ * Trying 127.0.0.1...
031+ * Adding handle: conn: 0x2bde4b0
032+ * Adding handle: send: 0
033+ * Adding handle: recv: 0
034+ * Curl_addHandleToPipeline: length: 1
035+ * - Conn 2 (0x2bde4b0) send_pipe: 1, recv_pipe: 0
036+ * Connection refused
037+ * Failed connect to 127.0.0.1:37349; Connection refused
038+ * Closing connection 2
043+ * Trying 127.0.0.1...
044+ * Adding handle: conn: 0x2bde5e0
045+ * Adding handle: send: 0
046+ * Adding handle: recv: 0
047+ * Curl_addHandleToPipeline: length: 1
048+ * - Conn 3 (0x2bde5e0) send_pipe: 1, recv_pipe: 0
049+ * Connection refused
050+ * Failed connect to 127.0.0.1:37349; Connection refused
051+ * Closing connection 3
1 (5%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x1263c50
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x1263c50) 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: 0x1263cc0
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x1263cc0) send_pipe: 1, recv_pipe: 0
023+ * Connection refused
024+ * Failed connect to 127.0.0.1:37349; Connection refused
025+ * Closing connection 1
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
030+ * Trying 127.0.0.1...
031+ * Adding handle: conn: 0x1263cc0
032+ * Adding handle: send: 0
033+ * Adding handle: recv: 0
034+ * Curl_addHandleToPipeline: length: 1
035+ * - Conn 2 (0x1263cc0) send_pipe: 1, recv_pipe: 0
036+ * Connection refused
037+ * Failed connect to 127.0.0.1:37349; Connection refused
038+ * Closing connection 2
043+ * Trying 127.0.0.1...
044+ * Adding handle: conn: 0x1263ee0
045+ * Adding handle: send: 0
046+ * Adding handle: recv: 0
047+ * Curl_addHandleToPipeline: length: 1
048+ * - Conn 3 (0x1263ee0) send_pipe: 1, recv_pipe: 0
049+ * Connection refused
050+ * Failed connect to 127.0.0.1:37349; Connection refused
051+ * Closing connection 3
1 (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 0
017- * About to connect() to 127.0.0.1 port 37349%r.*%r
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
019+ * Hostname was found in DNS cache
020+ * Trying 127.0.0.1...
021+ * connect to 127.0.0.1 port 37349 failed: Connection refused
022+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
023+ * Closing connection 0
024- * About to connect() to 127.0.0.1 port 37349%r.*%r
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
027+ * Hostname was found in DNS cache
028+ * Trying 127.0.0.1...
029+ * connect to 127.0.0.1 port 37349 failed: Connection refused
030+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
031+ * Closing connection 0
1 (5%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x9c18be8
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x9c18be8) 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: 0x9c18d68
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x9c18d68) 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
017- * About to connect() to 127.0.0.1 port 37349%r.*%r
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
024- * About to connect() to 127.0.0.1 port 37349%r.*%r
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
029+ * Hostname was found in DNS cache
030+ * Trying 127.0.0.1...
031+ * Adding handle: conn: 0x9c18d68
032+ * Adding handle: send: 0
033+ * Adding handle: recv: 0
034+ * Curl_addHandleToPipeline: length: 1
035+ * - Conn 2 (0x9c18d68) send_pipe: 1, recv_pipe: 0
036+ * connect to 127.0.0.1 port 37349 failed: Connection refused
037+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
038+ * Closing connection 2
042+ * Hostname was found in DNS cache
043+ * Trying 127.0.0.1...
044+ * Adding handle: conn: 0x9c18ed0
045+ * Adding handle: send: 0
046+ * Adding handle: recv: 0
047+ * Curl_addHandleToPipeline: length: 1
048+ * - Conn 3 (0x9c18ed0) send_pipe: 1, recv_pipe: 0
049+ * connect to 127.0.0.1 port 37349 failed: Connection refused
050+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
051+ * Closing connection 3
1 (5%)
003+ * Hostname was NOT found in DNS cache
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x2de1c00
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x2de1c00) 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: 0x2de1f20
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x2de1f20) 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
017- * About to connect() to 127.0.0.1 port 37349%r.*%r
018- * Trying 127.0.0.1...%A* Connection refused
019- * couldn't connect to host%S
020- * Closing connection #0
024- * About to connect() to 127.0.0.1 port 37349%r.*%r
025- * Trying 127.0.0.1...%A* Connection refused
026- * couldn't connect to host%S
027- * Closing connection #0
029+ * Hostname was found in DNS cache
030+ * Trying 127.0.0.1...
031+ * Adding handle: conn: 0x2de1f20
032+ * Adding handle: send: 0
033+ * Adding handle: recv: 0
034+ * Curl_addHandleToPipeline: length: 1
035+ * - Conn 2 (0x2de1f20) send_pipe: 1, recv_pipe: 0
036+ * connect to 127.0.0.1 port 37349 failed: Connection refused
037+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
038+ * Closing connection 2
042+ * Hostname was found in DNS cache
043+ * Trying 127.0.0.1...
044+ * Adding handle: conn: 0x2de2040
045+ * Adding handle: send: 0
046+ * Adding handle: recv: 0
047+ * Curl_addHandleToPipeline: length: 1
048+ * - Conn 3 (0x2de2040) send_pipe: 1, recv_pipe: 0
049+ * connect to 127.0.0.1 port 37349 failed: Connection refused
050+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
051+ * Closing connection 3