Ken Williams writes:
> Hi JR,
>
> I've been avoiding this bug to my peril. Does the following patch fix it?
>
> =================================================================
> --- Filter.pm 2000/12/20 03:43:44 1.16
> +++ Filter.pm 2001/04/06 05:05:24
> @@ -120,8 +120,8 @@
>
> sub send_fd {
> my $self = shift;
> - if ($self->is_last_filter) {
> + if ($self->is_last_filter and !&Universal::isa($_[0], ref $self)) {
> $self->SUPER::send_fd(@_);
> } else {
> my $fd = shift;
> =================================================================
>
> The bug occurs when the client doesn't support gzip, and you're using
> Apache::Filter, and Apache::Compress is the final filter in the chain.
Ken, would you mind to put a new version onto cpan if it works. I had
the problem myself sometime ago but hadn't fixed it the way you
proposed but patched Apache::Compress not to use send_fd but using a
while loop.
Dirk