summaryrefslogtreecommitdiffhomepage
path: root/src/stream/ngx_stream_script.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2018-05-07Silenced -Wcast-function-type warnings (closes #1546).Sergey Kandaurov1-6/+7
Cast to intermediate "void *" to lose compiler knowledge about the original type and pass the warning. This is not a real fix but rather a workaround. Found by gcc8.
2017-03-22Unified error messages about duplicate directives.Ruslan Ermilov1-1/+1
2016-09-05Stream: log module.Vladimir Homutov1-0/+67
2016-07-06Fixed regex captures handling without PCRE.Vladimir Homutov1-6/+8
If PCRE is disabled, captures were treated as normal variables in ngx_http_script_compile(), while code calculating flushes array length in ngx_http_compile_complex_value() did not account captures as variables. This could lead to write outside of the array boundary when setting last element to -1. Found with AddressSanitizer.
2016-07-04Stream: variables and script.Vladimir Homutov1-0/+852
This is a port of corresponding http code with unrelated features excluded.