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

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

Count Diff
1 (50%)
004+ * Trying 127.0.0.1...
005+ * Adding handle: conn: 0x24d4920
006+ * Adding handle: send: 0
007+ * Adding handle: recv: 0
008+ * Curl_addHandleToPipeline: length: 1
009+ * - Conn 0 (0x24d4920) 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: 0x24d4940
019+ * Adding handle: send: 0
020+ * Adding handle: recv: 0
021+ * Curl_addHandleToPipeline: length: 1
022+ * - Conn 1 (0x24d4940) 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: 0x24d4940
032+ * Adding handle: send: 0
033+ * Adding handle: recv: 0
034+ * Curl_addHandleToPipeline: length: 1
035+ * - Conn 2 (0x24d4940) 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: 0x24d4b60
045+ * Adding handle: send: 0
046+ * Adding handle: recv: 0
047+ * Curl_addHandleToPipeline: length: 1
048+ * - Conn 3 (0x24d4b60) 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 (50%)
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
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
018+ * Hostname 127.0.0.1 was found in DNS cache
019+ * Trying 127.0.0.1...
020+ * connect to 127.0.0.1 port 37349 failed: Connection refused
021+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
022+ * 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
026+ * Hostname 127.0.0.1 was found in DNS cache
027+ * Trying 127.0.0.1...
028+ * connect to 127.0.0.1 port 37349 failed: Connection refused
029+ * Failed to connect to 127.0.0.1 port 37349: Connection refused
030+ * Closing connection 0