aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_variables.c
Commit message (Collapse)AuthorAge
* Stream: $server_name.Sergey Kandaurov2024-03-22
|
* PROXY protocol v2 TLV variables.Roman Arutyunyan2022-10-12
| | | | | The variables have prefix $proxy_protocol_tlv_ and are accessible by name and by type. Examples are: $proxy_protocol_tlv_0x01, $proxy_protocol_tlv_alpn.
* Parsing server PROXY protocol address and port (ticket #1206).Roman Arutyunyan2019-10-21
| | | | | New variables $proxy_protocol_server_addr and $proxy_protocol_server_port are added both to HTTP and Stream.
* Core: moved PROXY protocol fields out of ngx_connection_t.Roman Arutyunyan2019-10-21
| | | | | | Now a new structure ngx_proxy_protocol_t holds these fields. This allows to add more PROXY protocol fields in the future without modifying the connection structure.
* 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.