summaryrefslogtreecommitdiffhomepage
path: root/src/stream/ngx_stream_handler.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-12-14Stream: virtual servers.Roman Arutyunyan1-3/+7
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".
2023-05-14Stream: removed QUIC support.Roman Arutyunyan1-19/+0
2021-09-29Stream: fixed segfault when using SSL certificates with variables.Sergey Kandaurov1-17/+15
Similar to the previous change, a segmentation fault occurres when evaluating SSL certificates on a QUIC connection due to an uninitialized stream session. The fix is to adjust initializing the QUIC part of a connection until after it has session and variables initialized. Similarly, this appends logging error context for QUIC connections: - client 127.0.0.1:54749 connected to 127.0.0.1:8880 while handling frames - quic client timed out (60: Operation timed out) while handling quic input
2021-06-23QUIC: fixed client certificates verification in stream.Vladimir Homutov1-0/+4
The stream session requires 'ssl' flag to be set in order to perform certificate verification.
2020-11-10QUIC: renamed c->qs to c->quic.Roman Arutyunyan1-1/+1
2020-10-01QUIC: moved ssl configuration pointer to quic configuration.Vladimir Homutov1-6/+2
The ssl configuration is obtained at config time and saved for future use.
2020-07-21QUIC: eliminated connection handler argument in ngx_quic_run().Roman Arutyunyan1-1/+1
Now c->listening->handler() is called instead.
2020-07-21QUIC: added "quic" listen parameter in Stream.Roman Arutyunyan1-0/+21
Also, introduced ngx_stream_quic_module.
2016-09-15Stream: phases.Roman Arutyunyan1-166/+26
2016-09-15Stream: filters.Roman Arutyunyan1-0/+4
2016-09-01Stream: realip module.Dmitry Volyntsev1-0/+9
2016-09-06Stream: allow using the session context inside handlers.Dmitry Volyntsev1-21/+16
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-06Stream: the "proxy_protocol" parameter of the "listen" directive.Dmitry Volyntsev1-0/+94
2016-09-06Stream: postpone session initialization under accept mutex.Dmitry Volyntsev1-3/+38
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-05Stream: log module.Vladimir Homutov1-0/+8
2016-08-11Stream: the $status variable.Roman Arutyunyan1-12/+34
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-26Stream: the $session_time variable.Vladimir Homutov1-0/+5
The variable keeps time spent on processing the stream session.
2016-07-04Stream: variables and script.Vladimir Homutov1-0/+9
This is a port of corresponding http code with unrelated features excluded.
2016-03-18Stream: additional logging for UDP.Vladimir Homutov1-3/+5
2016-01-20Stream: UDP proxy.Roman Arutyunyan1-2/+5
2015-08-13Stream: fixed potential error log buffer overrun.Vladimir Homutov1-1/+3
Found by Duan Jiong <djduanjiong@gmail.com>.
2015-08-10Stream: the "tcp_nodelay" directive.Vladimir Homutov1-0/+19
2015-06-18Stream: connection limiting module.Vladimir Homutov1-0/+9
stream { limit_conn_zone $binary_remote_addr zone=perip:1m; limit_conn_log_level error; server { ... limit_conn perip 1; } }
2015-06-04Stream: access module.Vladimir Homutov1-12/+25
stream { server { ... allow 127.0.0.1; deny all; } }
2015-04-25Core: the ngx_set_connection_log() macro.Vladimir Homutov1-1/+1
The http and stream versions of this macro were identical.
2015-04-20Stream: port from NGINX+.Ruslan Ermilov1-0/+296