]> git.kaiwu.me - nginx.git/commit
Perl: added handler type checks
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 26 Jun 2026 19:23:25 +0000 (22:23 +0300)
committerSergey Kandaurov <s.kandaurov@f5.com>
Wed, 15 Jul 2026 10:06:50 +0000 (14:06 +0400)
commita6a942fd6a7e18cc168a4c0281118d08181d668f
tree112207436d9cf535d61e9da144d69ba1a9cfc5f5
parent9e32c636c7a483e79e2545525700b42cfa807c67
Perl: added handler type checks

Previously, calling $r->sleep() and $r->has_request_body() with an
invalid handler argument, such as a string, resulted in a segmentation
fault.

Signed-off-by: Sergey Kandaurov <pluknet@nginx.com>
Origin: https://freenginx.org/hg/nginx/rev/2442b26850b1
src/http/modules/perl/nginx.xs