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.


[EMAIL PROTECTED] (JR Mayberry) wrote:
>Does anyone know anything about the above combo, and getting an error
>message:
>Bad filehandle at Filter.pm line 123
>
>when using a client that doesnt support gzip..(specifically 'ab', apache
>bench)


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum

Reply via email to