summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/perl (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Perl: NULL-terminate argument list.Piotr Sikora1-1/+2
perl_parse() function expects argv/argc-style argument list, which according to the C standard must be NULL-terminated, that is: argv[argc] == NULL. This change fixes a crash (SIGSEGV) that could happen because of the buffer overrun during perl module initialization. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
2013-09-04Handling of ngx_int_t != intptr_t case.Maxim Dounin1-2/+2
Casts between pointers and integers produce warnings on size mismatch. To silence them, cast to (u)intptr_t should be used. Prevoiusly, casts to ngx_(u)int_t were used in some cases, and several ngx_int_t expressions had no casts. As of now it's mostly style as ngx_int_t is defined as intptr_t.
2013-08-20Backed out f1a91825730a and 7094bd12c1ff.Maxim Dounin1-3/+1
While ngx_get_full_name() might have a bit more descriptive arguments, the ngx_conf_full_name() is generally easier to use when parsing configuration and limits exposure of cycle->prefix / cycle->conf_prefix details.
2013-08-06Replaced ngx_conf_full_name() with ngx_get_full_name().Valentin Bartenev1-1/+3
The ngx_get_full_name() function takes more readable arguments list.
2013-07-29Perl: fixed syntax usage for C preprocessor directives.Sergey Kandaurov1-7/+4
As per perlxs, C preprocessor directives should be at the first non-whitespace of a line to avoid interpreting them as comments. #if and #endif are moved so that there are no blank lines before them to retain them as part of the function body.
2013-06-10Perl: fixed r->header_in("Cookie") (ticket #351).Maxim Dounin1-9/+27
It was broken by X-Forwarded-For related changes in f7fe817c92a2 (1.3.14) as hh->offset is no longer 0 for Cookie.
2013-05-11Perl: extra "return" removed.Maxim Dounin1-1/+1
2013-04-23Perl: request body handling fixed.Maxim Dounin1-3/+36
As of 1.3.9, chunked request body may be available with r->headers_in.content_length_n <= 0. Additionally, request body may be in multiple buffers even if r->request_body_in_single_buf was requested.
2013-04-19Configure: fixed perl Makefile generation (ticket #334).Maxim Dounin1-1/+1
Dependancy tracking introduced in r5169 were not handled absolute path names properly. Absolute names might appear in CORE_DEPS if --with-openssl or --with-pcre configure arguments are used to build OpenSSL/PCRE libraries. Additionally, revert part of r5169 to set NGX_INCS from Makefile variables. Makefile variables have $ngx_include_opt in them, which might result in wrong include paths being used. As a side effect, this also restores build with --with-http_perl_module and --without-http at the same time.
2013-04-10Configure: fixed nginx.so rebuild (broken by r5145).Maxim Dounin1-2/+4
To avoid further breaks it's now done properly, all the dependencies are now passed to Makefile.PL. While here, fixed include list passed to Makefile.PL to use Makefile variables rather than a list expanded during configure.
2013-03-28Simplified nginx version maintenance.Ruslan Ermilov1-1/+1
It's no longer necessary to update src/http/modules/perl/nginx.pm when version is bumped, as it's now derived from src/core/nginx.h.
2013-03-27Version bump.Maxim Dounin1-1/+1
2013-03-07Version bump.Valentin Bartenev1-1/+1
2013-02-19Version bump.Valentin Bartenev1-1/+1
2013-02-07Version bump.Maxim Dounin1-1/+1
2013-01-17Version bump.Ruslan Ermilov1-1/+1
2012-12-26Version bump.Ruslan Ermilov1-1/+1
2012-12-20Brought the link to ngx_http_perl_module documentation up to date.Ruslan Ermilov1-1/+1
2012-12-17Added checks that disallow adding a variable with an empty name.Ruslan Ermilov1-1/+1
Added variable name syntax checks to "geo" and "map" directives.
2012-12-13Fixed variable syntax checking in "set", "geo", "limit_conn_zone",Ruslan Ermilov1-1/+1
and "perl_set" directives.
2012-12-03Fixed build with embedded perl in certain setups (ticket #48).Ruslan Ermilov1-14/+3
2012-11-29Version bump.Maxim Dounin1-1/+1
2012-11-16Version bump.Ruslan Ermilov1-1/+1
2012-10-03Version bump.Maxim Dounin1-1/+1
2012-09-26Version bump.Maxim Dounin1-1/+1
2012-08-27Version bump.Ruslan Ermilov1-1/+1
2012-07-31Version bump.Ruslan Ermilov1-1/+1
2012-07-17Version bump.Ruslan Ermilov1-1/+1
2012-06-29Version bump.Ruslan Ermilov1-1/+1
2012-06-18Version bump.Ruslan Ermilov1-1/+1
2012-05-23Fixed warning during nginx.xs compilation.Maxim Dounin1-1/+1
2012-05-16Version bump.Ruslan Ermilov1-1/+1
2012-04-26Version bump.Maxim Dounin1-1/+1
2012-04-23Version bump.Maxim Dounin1-1/+1
2012-04-12Version bump.Maxim Dounin1-1/+1
2012-04-02Version bump.Maxim Dounin1-1/+1
2012-03-15Version bump.Maxim Dounin1-1/+1
2012-03-05Version bump.Maxim Dounin1-1/+1
2012-02-27Disable symlinks: initialization of the "disable_symlinks" field inValentin Bartenev1-3/+4
ngx_open_file_info_t moved to a separate function. This is preparation for the "from=" parameter implementation of the "disable_symlinks" directive.
2012-02-27Added support for the 307 Temporary Redirect.Ruslan Ermilov1-0/+4
2012-02-20Version bump.Maxim Dounin1-1/+1
2012-02-13Support for disable_symlinks in various modules.Andrey Belov1-0/+3
2012-02-13Fixed build with embedded perl and --with-openssl.Maxim Dounin1-1/+5
2012-02-09Version bump.Maxim Dounin1-1/+1
2012-01-18Copyright updated.Maxim Konovalov4-0/+4
2012-01-18Version bump.Maxim Konovalov1-1/+2
2011-12-27Version bump.Maxim Dounin1-1/+1
2011-12-19Version bump.Maxim Dounin1-1/+1
2011-12-06Version bump.Maxim Dounin1-1/+1
2011-11-29Version bump.Maxim Dounin1-1/+1