Archive Index
This month's Index
|
Subject: Re: [libssh2] Hanging in libssh2_channel_free?
Re: [libssh2] Hanging in libssh2_channel_free?
From: Cary Fitzhugh <cfitzhugh_at_anystream.com>
Date: Tue, 8 May 2007 16:24:26 -0400
So it finally stopped - and I can see what it supposedly died on:
* Failed to stop libssh2 sftp subsystem
[libssh2] Transport: Disconnecting: reason=11, desc=Shutdown, lang=
=> libssh2_packet_write plain (21 bytes)
0000: 01 00 00 00 0b 00 00 00 08 53 68 75 74 64 6f 77 .........Shutdow
0010: 6e 00 00 00 00 n....
=> libssh2_packet_write send() (52 bytes)
0000: 55 48 7c 84 f9 5f 0d 1a 7d 37 97 b5 c5 47 42 cb UH|.._..}7...GB.
0010: b2 a5 80 66 12 d6 37 d7 97 e6 be dd b4 02 cb 02 ...f..7.........
0020: 34 e4 36 9d 71 ac fa 06 3f 39 28 1e 22 7e 85 3b 4.6.q...?9(."~.;
0030: fa 0d 68 2c ..h,
[libssh2] Transport: Freeing session resource
[libssh2] Connection: Freeing channel 0/0 resources
[libssh2] Transport: Looking for packet of type: 94
[libssh2] Transport: Looking for packet of type: 95
* Closing connection #0
Any ideas?
Thanks -
Cary FitzHugh
________________________________
From: Cary Fitzhugh
Hello,
I'm using the 0508 libssh2 snapshot with curl's snapshot from 0507. And
I can see the file moved across, all the data is present, but the
So my file is transferred, but the sftp_close() hasn't returned so my
I can't imagine that no one has tried to upload with libssh2 over SFTP
Any ideas?
Thanks so much,
Cary FitzHugh
Anystream, Inc.
..... (Tons of output from the transfer) .....
[libssh2] Transport: Packet type 94 received, length=37
[libssh2] Connection: 28 bytes received for channel 0/0 stream #0
[libssh2] Connection: Setting blocking mode on channel 0/0 to 0
[libssh2] Connection: Reading 4 of buffered data from 0/0/0
[libssh2] SFTP Subsystem: Data begin - Packet Length: 24
[libssh2] Connection: Attempting to read 24 bytes from channel 0/0
[libssh2] Connection: Setting blocking mode on channel 0/0 to 0
[libssh2] Connection: Setting blocking mode on channel 0/0 to 0
[libssh2] Connection: Reading 24 of buffered data from 0/0/0
[libssh2] Connection: Unlinking empty packet buffer from channel 0/0
[libssh2] Connection: Queueing 28 bytes for receive window adjustment
[libssh2] SFTP Subsystem: Received packet 101
[libssh2] SFTP Subsystem: Asking for 101 packet
[libssh2] Connection: Freeing channel 0/0 resources
[libssh2] Connection: Closing channel 0/0
=> libssh2_packet_write plain (5 bytes)
0000: 61 00 00 00 00 a....
=> libssh2_packet_write send() (36 bytes)
0000: f4 e1 81 28 a1 76 25 b5 6b 28 35 3c ac b4 f0 86 ...(.v%.k(5<....
0010: ba 6a 45 5f 11 19 b3 7a 20 e8 51 d0 db 78 c1 48 .jE_...z .Q..x.H
0020: 10 83 fa e0 ....
[libssh2] Connection: Setting blocking mode on channel 0/0 to 1
-------------------------------------------------------------------------
_______________________________________________
|