Hi,

On Fri, Dec 15, 2023 at 07:37:46PM +0400, Sergey Kandaurov wrote:
> # HG changeset patch
> # User Sergey Kandaurov <pluk...@nginx.com>
> # Date 1702648226 -14400
> #      Fri Dec 15 17:50:26 2023 +0400
> # Node ID 4d90cb223fdb9e3e6c148726e36cec7835b2f0f8
> # Parent  de11f5373157db6c1e22dbad2ab4014143a5e8f8
> 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.
> 
> diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h
> --- a/src/stream/ngx_stream.h
> +++ b/src/stream/ngx_stream.h
> @@ -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

Looks fine
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to