Roman Arutyunyan
04b9434b18
Stream: filters.
2016-09-15 14:55:46 +03:00
Dmitry Volyntsev
fe2774a9d6
Stream: realip module.
2016-09-01 14:45:33 +03:00
Dmitry Volyntsev
41e7bda773
Stream: allow using the session context inside handlers.
...
Previously, it was not possible to use the stream context
inside ngx_stream_init_connection() handlers. Now, limit_conn,
access handlers, as well as those added later, can create
their own contexts.
2016-09-06 21:28:17 +03:00
Dmitry Volyntsev
abd1b0a76d
Stream: the "proxy_protocol" parameter of the "listen" directive.
2016-09-06 21:28:16 +03:00
Dmitry Volyntsev
87aaac4ac5
Stream: postpone session initialization under accept mutex.
...
Previously, it was possible that some system calls could be
invoked while holding the accept mutex. This is clearly
wrong as it prevents incoming connections from being accepted
as quickly as possible.
2016-09-06 21:28:13 +03:00
Vladimir Homutov
68a7b9b5a3
Stream: log module.
2016-09-05 17:50:16 +03:00
Roman Arutyunyan
be6024f9b7
Stream: the $status variable.
...
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
2016-08-11 20:22:23 +03:00
Vladimir Homutov
f04b65358e
Stream: the $session_time variable.
...
The variable keeps time spent on processing the stream session.
2016-08-26 15:33:04 +03:00
Vladimir Homutov
c31773ea60
Stream: variables and script.
...
This is a port of corresponding http code with unrelated features excluded.
2016-07-04 16:37:36 +03:00
Vladimir Homutov
818ebb3492
Stream: additional logging for UDP.
2016-03-18 19:53:22 +03:00
Roman Arutyunyan
2ce791f2cd
Stream: UDP proxy.
2016-01-20 19:52:12 +03:00
Vladimir Homutov
f2d31f8291
Stream: fixed potential error log buffer overrun.
...
Found by Duan Jiong <djduanjiong@gmail.com>.
2015-08-13 15:55:21 +03:00
Vladimir Homutov
b537def75e
Stream: the "tcp_nodelay" directive.
2015-08-10 12:14:41 +03:00
Vladimir Homutov
14ff3d4f87
Stream: connection limiting module.
...
stream {
limit_conn_zone $binary_remote_addr zone=perip:1m;
limit_conn_log_level error;
server {
...
limit_conn perip 1;
}
}
2015-06-18 14:17:30 +03:00
Vladimir Homutov
8ab1aa612d
Stream: access module.
...
stream {
server {
...
allow 127.0.0.1;
deny all;
}
}
2015-06-04 13:04:12 +03:00
Vladimir Homutov
df555ffce6
Core: the ngx_set_connection_log() macro.
...
The http and stream versions of this macro were identical.
2015-04-25 22:44:02 +03:00
Ruslan Ermilov
c799c82faa
Stream: port from NGINX+.
2015-04-20 13:05:11 +03:00