Keresztfalvi Gabor <[EMAIL PROTECTED]> writes:
> On 15 Feb 2000, Niels M�ller wrote:
> > Keresztfalvi Gabor <[EMAIL PROTECTED]> writes:
> > > I still have the problem of the $subject.
> > There were two bugs involved.
> Almost perfect. The commands
> ./lsh --no-pty -p 4711 -v localhost >c
> cat /vmlinuz
> works well, but if I want to use compression as
> ./lsh --no-pty -p 4711 -z -v localhost >c
> cat /vmlinuz
> then it dies with:
> do_zlib: Estimated size exceeded: input = 5845, estimate = 6724, output = 8201
> do_zlib: Estimated size exceeded: input = 2979, estimate = 4377, output = 8201
> do_zlib: Both avail_in and avail_out are zero.
> do_zlib: deflate() or inflate() failed: No error(?)
> read_buffered(): fd died, 1472 buffered bytes discarded
I don't quite understand this. The first threee messages should be
harmless. The fourth is printed by
if (rc != Z_OK)
{
werror("do_zlib: deflate() or inflate() failed: %z\n",
self->z.msg ? self->z.msg : "No error(?)");
if (free)
lsh_string_free(packet);
return NULL;
}
in zlib.c. Could you put a breakpoint there, see what the value of rc
really is, what the zlib-state (self->z) looks like, and see if you
can find any more clues?
> P.s.: BTW what is the priority of implementing the remote command
> execution?
It's one of the things to add after 0.9.
/Niels