Commit 22108c9c authored by Clément OUDOT's avatar Clément OUDOT

Fix call to add_output_filter (#1898)

parent 6a462bfe
Pipeline #6253 passed with stage
in 13 minutes and 40 seconds
......@@ -107,7 +107,7 @@ sub run {
eval 'use Apache2::Filter' unless ( $INC{"Apache2/Filter.pm"} );
if ( $INC{"Apache2/Filter.pm"} ) {
$r->add_output_filter(
$r->{env}->{'psgi.r'}->add_output_filter(
sub {
my $f = shift;
while ( $f->read( my $buffer, 1024 ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment