www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: libssh2-devel post from jerome@ambrosiasw.com requires approval

libssh2-devel post from jerome@ambrosiasw.com requires approval

From: <libssh2-devel-owner_at_cool.haxx.se>
Date: Mon, 24 Aug 2009 17:56:45 +0200

As list administrator, your authorization is requested for the
following mailing list posting:

    List: libssh2-devel_at_cool.haxx.se
    From: jerome_at_ambrosiasw.com
    Subject: Re: SCP upload failure
    Reason: Message body is too big: 178558 bytes with a limit of 40 KB

At your convenience, visit:

    http://cool.haxx.se/cgi-bin/mailman/admindb/libssh2-devel
        
to approve or deny the request.

attached mail follows:


On Aug 24, 2009, at 11:43 AM, Daniel Stenberg wrote:

> On Mon, 24 Aug 2009, Jeremy Knope wrote:
>
>> [libssh2] 4.745432 Conn: Close received for channel 0/0
>>
>> Seems like libssh2 says the channel close was received but is still
>> blocked?
>
> Ehum. It does indeed look like you're onto something here.
>
>> Not sure if I'm reading it right, but I'm going to tweak some more
>> and see if I can get more info about what's going on with writing
>> of the data.
>
> That "Close received" message comes from the _libssh2_packet_add()
> function. The _libssh2_packet_add() gets called from one place, and
> that's from fullpacket() which is only called from within
> _libssh2_transport_read() which is the lowest level SSH transport
> reading function.
>
> I have a feeling that the error is around src/channel.c:1830 (in
> current git) where it only checks the remote.close or
> libssh2_channel_eof() if bytes_read == 0, which seems like wrong
> presumption.
>

hope that helps then, the tests I was just doing where it was hanging
on close wait was just to 'localhost', just was doing a couple tests
on a local OS X server to see if there's a difference with trace on
etc. With that server it's consistently corrupting the files but
successfully exiting the wait, just all the files I've tried ended up
bad on the other end. I don't see anything suspicious in the trace,
or know if it's related to the above issue. Here's an example of an
image file:

attached mail follows:


If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message. Do this if the message is
spam. If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list. The Approved: header can also appear in the first line
of the body of the reply.

test.png
Received on 2009-08-24

the libssh2 team