I'm using Apache::RegistryNG to feed GzipChain.  But doesn't
the chunking occur *after* GzipChain?  I've also tried
Apache::Registry with the same results.

-P

> -----Original Message-----
> From: Rick Myers [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 11, 2000 8:22 AM
> To: Paul G. Weiss
> Subject: Re: Apache::GzipChain
> 
> 
> On Apr 11, 2000 at 08:19:50 -0400, Rick Myers twiddled the 
> keys to say:
> > 
> > Your suspicion is correct. The problem however lies in 
> whatever module
> > your using to feed GzipChain. In my case it was 
> Apache::PassFile, which
> > sends in 16k chunks. Apache::PassHtml looks like it suffers from a
> > similar problem, but I've not tried it.
> 
> Whoops.. I'm a bit quick on the send button this morning.
> 
> Here's the patch for PassFile..
> 
> --- PassFile.pm.orig Fri Mar 31 05:18:32 2000
> +++ PassFile.pm    Fri Mar 31 05:10:39 2000
> @@ -30,9 +30,8 @@
>      my($buf,$read);
>      local $\;
> 
> +    my $size = (stat _)[7];
>      while (){
> +      defined($read = sysread($fh, $buf, $size)) or return 
> SERVER_ERROR;
> -      defined($read = sysread($fh, $buf, $BUFFERSIZE)) or 
> return SERVER_ERROR;
>        last unless $read;
>        print $buf;
>      }
> 
> Rick Myers                            [EMAIL PROTECTED]
> ----------------------------------------------------
> The Feynman Problem       1) Write down the problem.
> Solving Algorithm         2) Think real hard.
>                           3) Write down the answer.
> 

Reply via email to