[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Fix neon inflate bug

From: Ben Collins <bcollins_at_debian.org>
Date: 2002-06-06 20:30:02 CEST

On Thu, Jun 06, 2002 at 11:20:29AM -0700, Justin Erenkrantz wrote:
> With this patch to neon and HEAD of httpd-2.0 and mod_deflate turned
> on, I can check out my own website under SVN control with gzip
> compression.
>
> So, I think most of the bugs are ironed out now. =)
>
> * src/ne_compress.c (do_inflate): If we have nothing left to inflate,
> do not try to re-execute the loop and inflate again. We would get a
> Z_BUF_ERROR in this case.
>
> Please let me know if you have any questions. -- justin

Do the test on a > 1meg file from the repo. I tried this last week, and
we still get the bug where the compressed data is corrupted. This
doesn't involve the SVN client, since we get the problem even with
something like:

wget --header "Accept-Encoding: gzip" http://foo/svn/BigFile

zcat BigFile > blah
(error)

Probably something internal to apache/dav/deflate, or maybe even
something weird in mod_dav_svn.

Of course, something could have been fixed in httpd-2.0 head since last
week that I don't know about.

Ben

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 6 20:38:47 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.