I tried this patch and it gives same error....
The client gets blocked here waiting for server response.
[libssh2] 30.190373 Conn: Writing 53 bytes on channel 0/0, stream #0
[libssh2] 30.190384 Conn: Sending 53 bytes on channel 0/0, stream_id=0
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00 35 : ^.......5
=> libssh2_transport_write plain2 (53 bytes)
0000: 00 00 00 31 05 00 00 04 EF 00 00 00 1C 47 4F 4E : ...1.........GON
0010: 53 41 4C 56 45 53 2F 54 45 53 54 44 41 54 41 2F : SALVES/TESTDATA/
0020: 30 30 38 35 37 2E 74 78 74 00 00 00 00 00 00 BB : 00857.txt.......
0030: 80 00 00 04 80 : .....
[libssh2] 30.190468 Socket: Sent 100/100 bytes at 0xa49a240
=> libssh2_transport_write send() (100 bytes)
0000: 15 73 66 7F AF 4D 3D 99 DF 9A 0D A7 89 11 5D 24 : .sf..M=.......]$
0010: 44 F3 CA B4 9F 75 BA 28 D8 39 34 C1 20 13 B2 02 : D....u.(.94. ...
0020: CD 81 B0 5E 20 C5 1B BA F1 73 DC 4A F1 CB 7E 99 : ...^ ....s.J..~.
0030: E5 4D 19 0D 64 FB 29 76 EC 14 07 7D 56 69 34 02 : .M..d.)v...}Vi4.
0040: 36 80 C3 AD B2 18 1C 4A 1E 03 55 3D 8F 00 C1 6E : 6......J..U=...n
0050: BE 56 B7 98 F8 5E 46 FB 76 A9 DD FE D2 BD DE 42 : .V...^F.v......B
0060: 42 BE 7C AA : B.|.
[libssh2] 30.190581 SFTP: recv packet
[libssh2] 30.190592 Failure Event: -37 - would block
[libssh2] 30.190603 Failure Event: -37 - Would block sftp_read
-------------------------------------
And then times out waiting ..
-------------------------------------------
[libssh2] 742.581169 SFTP: recv packet
[libssh2] 742.581203 Conn: channel_read() wants 4 bytes from channel
0/0 stream #0
[libssh2] 742.581219 Socket: Error recving 16384 bytes (got 104)
[libssh2] 742.581228 Failure Event: -43 - transport read
[libssh2] 742.581238 Failure Event: -43 - channel read
[libssh2] 742.581247 Failure Event: -43 - Error waiting for FXP_READ ACK
[libssh2] 742.581260 SFTP: Closing handle
[libssh2] 742.581270 Conn: Writing 41 bytes on channel 0/0, stream #0
[libssh2] 742.581282 Socket: Error recving 16384 bytes (got 0)
[libssh2] 742.581291 Conn: Sending 41 bytes on channel 0/0, stream_id=0
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00 29 : ^.......)
=> libssh2_transport_write plain2 (41 bytes)
0000: 00 00 00 25 04 00 00 04 F0 00 00 00 1C 47 4F 4E : ...%.........GON
0010: 53 41 4C 56 45 53 2F 54 45 53 54 44 41 54 41 2F : SALVES/TESTDATA/
0020: 30 30 38 35 37 2E 74 78 74 : 00857.txt
[libssh2] 742.581388 Socket: Error sending 84 bytes: 32
[libssh2] 742.581398 Failure Event: -7 - Unable to send channel data
[libssh2] 742.581408 Failure Event: -7 - Unable to send FXP_CLOSE command
I am thinking it is more of a server problem rather than client?
On Thu, Sep 8, 2011 , liuzl <xieepp_at_gmail.com> wrote:
>
>What is about this patch:
>
>http://www.libssh2.org/mail/libssh2-devel-archive-2011-09/0033.shtml
>
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-09-08