mirror of
https://github.com/nginx/nginx.git
synced 2026-10-13 09:22:06 -05:00
eae5e4dd01dfaff9d15c3dd7818f082e2995cc74
This ensures that correct ctx is always available, including after
filter finalization. In particular, this fixes a segmentation fault
with the following configuration:
location / {
image_filter test;
perl 'sub {
my $r = shift;
$r->send_http_header();
$r->print("foo\n");
$r->print("bar\n");
}';
}
This also seems to be the only way to correctly handle filter finalization
in various complex cases, for example, when embedded perl is used both
in the original handler and in an error page called after filter
finalization.
Description
An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
86 MiB
0 Stars
3 Watchers
0 Forks
Languages
C
97.8%
Vim Script
1.6%
XS
0.4%
Perl
0.1%