Subject: Re: so compression is a bit broken

Re: so compression is a bit broken

From: TJ Saunders <tj_at_castaglia.org>
Date: Thu, 21 Oct 2010 16:35:39 -0700 (PDT)

> o I then found out that uploading with compression failed. I reverted all
> the way back to 1.2.7 status and what do you know? It still fails. I wonder
> if sending compressed SSH packets have not worked for a very long
> time! The good news is of course that I didn't break it now. The bad news is
> of course that it is a pain to debug and fix...

A related issue is:

  http://trac.libssh2.org/ticket/184

The patch there adds some trace logging of the zlib return value for
failed zlib calls; perhaps that can help aid in the debugging of why
compressed uploads are failing?

Cheers,
TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   Who can separate his faith from his actions, or his belief from
   his occupations?

     -Kahlil Gibran

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-22