jessie-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jessie-discuss] Compression failed exception on Jessie client when


From: Casey Marshall
Subject: Re: [Jessie-discuss] Compression failed exception on Jessie client when connecting to Jessie server
Date: Sat, 5 Nov 2005 12:00:10 -0800

On Nov 2, 2005, at 2:59 AM, Martin Egholm Nielsen wrote:

Hi again,

In the attempt to find a bug, I tried using Jessie in my client- side application, as well. I didn't succeed in that, so I turned to the two examples, testclient and testserver, and tried getting those two to talk together.
I forgot mentioning that my client works fine against e.g. "www.verisign.com:443", and my server works fine with other clients. It's just the combination of the two together!


It's clearly a bug in the compression routine, where it looks like I'm not using jzlib properly:

        if (deflater.deflate(JZlib.Z_SYNC_FLUSH) != JZlib.Z_OK)
          {
            throw new SSLException("compression failed");
          }

I'm not sure what the problem is, but maybe the 'encrypt' routine can be instrumented a little to diagnose what error jzlib is hitting.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]