Welcome! Log In Create A New Profile

Advanced

[nginx] Stream: reshuffled ngx_stream_listen_opt_t fields.

Sergey Kandaurov
March 22, 2024 07:18AM
details: https://hg.nginx.org/nginx/rev/c8cf6b1cc82e
branches:
changeset: 9220:c8cf6b1cc82e
user: Sergey Kandaurov <pluknet@nginx.com>
date: Fri Mar 22 14:53:19 2024 +0400
description:
Stream: reshuffled ngx_stream_listen_opt_t fields.

In preparation for adding more parameters to the listen directive,
and to be in sync with the corresponding structure in the http module.
No functional changes.

diffstat:

src/stream/ngx_stream.h | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r 71880e854bc7 -r c8cf6b1cc82e src/stream/ngx_stream.h
--- a/src/stream/ngx_stream.h Fri Mar 22 14:51:14 2024 +0400
+++ b/src/stream/ngx_stream.h Fri Mar 22 14:53:19 2024 +0400
@@ -56,18 +56,19 @@ typedef struct {
unsigned reuseport:1;
unsigned so_keepalive:2;
unsigned proxy_protocol:1;
+
+ int backlog;
+ int rcvbuf;
+ int sndbuf;
+ int type;
+#if (NGX_HAVE_TCP_FASTOPEN)
+ int fastopen;
+#endif
#if (NGX_HAVE_KEEPALIVE_TUNABLE)
int tcp_keepidle;
int tcp_keepintvl;
int tcp_keepcnt;
#endif
- int backlog;
- int rcvbuf;
- int sndbuf;
-#if (NGX_HAVE_TCP_FASTOPEN)
- int fastopen;
-#endif
- int type;
} ngx_stream_listen_opt_t;


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Stream: reshuffled ngx_stream_listen_opt_t fields.

Sergey Kandaurov 309 March 22, 2024 07:18AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 84
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready