aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_variables.c
Commit message (Collapse)AuthorAge
* Improved code readablity.Ruslan Ermilov2018-03-07
| | | | No functional changes.
* Fixed handling of unix sockets in $binary_remote_addr.Maxim Dounin2017-10-04
| | | | | | | | | | | | | | Previously, unix sockets were treated as AF_INET ones, and this may result in buffer overread on Linux, where unbound unix sockets have 2-byte addresses. Note that it is not correct to use just sun_path as a binary representation for unix sockets. This will result in an empty string for unbound unix sockets, and thus behaviour of limit_req and limit_conn will change when switching from $remote_addr to $binary_remote_addr. As such, normal text representation is used. Reported by Stephan Dollberg.
* Style.Ruslan Ermilov2017-09-22
|
* Variables: macros for null variables.Ruslan Ermilov2017-08-01
| | | | No functional changes.
* Variables: generic prefix variables.Dmitry Volyntsev2017-01-31
|
* Limited recursion when evaluating variables.Ruslan Ermilov2016-12-21
| | | | Unlimited recursion might cause stack exhaustion in some misconfigurations.
* Stream: $proxy_protocol_addr and $proxy_protocol_port.Dmitry Volyntsev2016-09-06
|
* Stream: the $status variable.Roman Arutyunyan2016-08-11
| | | | | | | | | | The stream session status is one of the following: 200 - normal completion 403 - access forbidden 500 - internal server error 502 - bad gateway 503 - limit conn
* Stream: the $protocol variable.Vladimir Homutov2016-08-26
| | | | The variable keeps protocol used by the client, "TCP" or "UDP".
* Stream: the $session_time variable.Vladimir Homutov2016-08-26
| | | | The variable keeps time spent on processing the stream session.
* Stream: the $bytes_received variable.Vladimir Homutov2016-08-26
| | | | The variable keeps the number of bytes received from the client.
* Stream: core module variables.Vladimir Homutov2016-06-14
|
* Stream: variables and script.Vladimir Homutov2016-07-04
This is a port of corresponding http code with unrelated features excluded.