| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
Server name is taken either from ngx_stream_ssl_module or
ngx_stream_ssl_preread_module.
The change adds "default_server" parameter to the "listen" directive,
as well as the following directives: "server_names_hash_max_size",
"server_names_hash_bucket_size", "server_name" and "ssl_reject_handshake".
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
The variable keeps time spent on processing the stream session.
|
|
|
|
| |
This is a port of corresponding http code with unrelated features excluded.
|
| |
|
| |
|
|
|
|
| |
Found by Duan Jiong <djduanjiong@gmail.com>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
stream {
limit_conn_zone $binary_remote_addr zone=perip:1m;
limit_conn_log_level error;
server {
...
limit_conn perip 1;
}
}
|
|
|
|
|
|
|
|
|
|
| |
stream {
server {
...
allow 127.0.0.1;
deny all;
}
}
|
|
|
|
| |
The http and stream versions of this macro were identical.
|
|
|