Subject: | Response filters not firing for 0.24 |
Date: | Wed, 29 Jul 2009 21:31:04 +0200 (CEST) |
To: | bug-HTTP-Proxy [...] rt.cpan.org |
From: | "Hendrik Schumacher" <hs [...] activeframe.de> |
Hi,
after updating HTTP::Proxy from 0.23 to 0.24 I still have problems with
response filters not firing occasionally (though not as often as with
0.23). I couldnt determine the cause yet, it still seems random to me.
But putting the following at the end of the main loop in Proxy.pm /
serve_connections() seems to fix the problem for me:
$self->{$_}{request}->eod for qw( headers body );
$self->{$_}{response}->eod for qw( headers body );
So it seems that the Response-Filterstack isnt reset properly in all cases
and select_filter is skipped during the next request.
I run Perl 5.10.0 under Linux 2.6.24-etchnhalf.1-686.
Hendrik Schumacher