summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/perl/nginx.xs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-04-20Cleaned up r->headers_out.headers allocation error handling.Sergey Kandaurov1-0/+2
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-02Perl: fixed delaying subrequests.Maxim Dounin1-0/+1
Much like in limit_req, use the wev->delayed flag to ensure proper handling and interoperability with limit_rate.
2015-08-18Perl: prototyping behavior explicitly specified.Maxim Dounin1-0/+3
When prototyping behavior is not explicitly specified, xsubpp emits a message to stderr asking to do so (see ticket #608).
2015-08-18Perl: fixed warning about "sep" may be used uninitialized.Maxim Dounin1-9/+6
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.
2012-05-23Fixed warning during nginx.xs compilation.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-13Support for disable_symlinks in various modules.Andrey Belov1-0/+3
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-10-11Handling of Content-Encoding set from perl.Maxim Dounin1-0/+7
This fixes double gzipping in case of gzip filter being enabled while perl returns already gzipped response.
2011-10-10Fixed macro name.Ruslan Ermilov1-1/+1
2011-02-21fix warningsIgor Sysoev1-2/+2
2010-04-22change processing variables accessed by SSI and perl module:Igor Sysoev1-1/+1
*) the indexed variables are always flushed *) never show warning for not found variables
2010-02-12fix request counter for $r->sleep(), the bug was introduced in r3050Igor Sysoev1-0/+1
2009-11-12do not log error if $r->variable was not foundIgor Sysoev1-3/+0
2009-09-30read_aheadIgor Sysoev1-0/+1
2009-05-01use off_t in $r->sendfile(), this allows to use 64-bit off_t on platformsIgor Sysoev1-1/+1
where IV is long: *) on 64-bit platforms, *) and on 32-bit platforms if perl was built with -Duse64bitint
2009-04-27*) of.test_only to not open file if only stat() is enoughIgor Sysoev1-1/+1
*) of.failed to return exact name of failed syscall
2008-09-05*) handle unaligned file part for directioIgor Sysoev1-0/+1
*) disable sendfile in directio mode
2008-08-04ngx_hash_strlow()Igor Sysoev1-10/+2
2008-07-30directioIgor Sysoev1-0/+1
2008-06-26ngx_memzero() ngx_open_file_info_tIgor Sysoev1-2/+2
2008-06-23initialize of.uniq in ngx_open_cached_file()Igor Sysoev1-8/+9
2008-06-23change useless ngx_pcalloc() to ngx_pnalloc()Igor Sysoev1-1/+1
2008-06-17*) back out r2040Igor Sysoev1-5/+5
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-02-16fix previous commitIgor Sysoev1-1/+1
2008-02-16optimize $r->sleepIgor Sysoev1-3/+9
2008-02-15delete unneeded dXSTARGIgor Sysoev1-1/+0
2007-12-27optimizationIgor Sysoev1-5/+3
2007-12-22open_file_cache_min_usesIgor Sysoev1-0/+1
2007-12-21fix the previous commitIgor Sysoev1-1/+1
2007-12-16copy return values to perl's allocated memoryIgor Sysoev1-21/+18
2007-12-09*) copy regex captures $1, $2, etc.Igor Sysoev1-2/+9
*) SV flags debug logging
2007-10-14fix English grammarIgor Sysoev1-1/+1
2007-10-09style fix: remove trailing spacesIgor Sysoev1-5/+5
2007-09-03open_file_cache_eventsIgor Sysoev1-0/+1
2007-09-01open_file_cache in HTTPIgor Sysoev1-34/+30
2007-08-31allow to append charset to the "Content-Type" headerIgor Sysoev1-0/+2
2007-08-06omit unnecessary XSRETURN_EMPTYIgor Sysoev1-12/+0
2007-08-06$r->discard_request_bodyIgor Sysoev1-0/+11
2007-04-21rename $r->rflush to $r->flushIgor Sysoev1-2/+2
2007-01-25undo "client_body_in_file_only any"Igor Sysoev1-1/+1
and introduce "client_body_in_file_only clean" introduce ngx_pool_delete_file() to not break a possible third-party ngx_pool_cleanup_file() usage that may lead to an removal of the useful files delete unnecessary ngx_http_finalize_request_body()
2007-01-18update nginx.xs to ngx_open_file(name, mode, create, access)Igor Sysoev1-1/+1
2006-12-22fix segfaultIgor Sysoev1-2/+5
2006-12-13$r->statusIgor Sysoev1-0/+16
2006-12-12$r->variable() supports perl only variablesIgor Sysoev1-1/+61
2006-12-12$r->sleep()Igor Sysoev1-0/+21