Re: Zlib: correct checksum but error decompressing

2009-08-26 Thread John Machin
Paul Rubin writes: > > Andre gmail.com> writes: > > I have been trying to solve this issue for a while now. I receive data > > from a TCP connection which is compressed. > > Are you sure it is compressed with zlib? If yes, does it include the > standard zlib header? Some applications save a

Re: Zlib: correct checksum but error decompressing

2009-08-26 Thread Paul Rubin
Andre writes: > I have been trying to solve this issue for a while now. I receive data > from a TCP connection which is compressed. Are you sure it is compressed with zlib? If yes, does it include the standard zlib header? Some applications save a few bytes by stripping the header. See the zli

Re: Zlib: correct checksum but error decompressing

2009-08-26 Thread InvisibleRoads Patrol
On Wed, 26 Aug 2009 07:19:42 -0700 (PDT), Andre wrote: > I have been trying to solve this issue for a while now. I receive data > from a TCP connection which is compressed. I know the correct checksum > for the data and both the client and server generate the same > checksum. However, in Python wh