nginx/src/http/modules/perl
Sergey Kandaurov 9ecf842864 Cleaned up r->headers_out.headers allocation error handling.
If initialization of a header failed for some reason after ngx_list_push(),
leaving the header as is can result in uninitialized memory access by
the header filter or the log module.  The fix is to clear partially
initialized headers in case of errors.

For the Cache-Control header, the fix is to postpone pushing
r->headers_out.cache_control until its value is completed.
2017-04-20 18:26:37 +03:00
..
Makefile.PL Perl: pass additional linker options to perl module. 2016-09-20 22:11:23 +03:00
nginx.pm Added support for the "308 Permanent Redirect" (ticket #877). 2017-04-11 03:13:46 +02:00
nginx.xs Cleaned up r->headers_out.headers allocation error handling. 2017-04-20 18:26:37 +03:00
ngx_http_perl_module.c Moved handling of wev->delayed to the connection event handler. 2017-04-02 14:32:29 +03:00
ngx_http_perl_module.h Copyright updated. 2012-01-18 15:07:43 +00:00
typemap nginx-0.3.21-RELEASE import 2006-01-16 14:56:53 +00:00