Welcome! Log In Create A New Profile

Advanced

Is ngx_http_headers_out dead code?

June 25, 2023 03:26AM
Hi,
I wonder if the `ngx_http_headers_out` variable is being used? If yes, what
is it for?

```
/* src/http/ngx_http_header_filter_module.c */

ngx_http_header_out_t ngx_http_headers_out[] = {
{ ngx_string("Server"), offsetof(ngx_http_headers_out_t, server) },
{ ngx_string("Date"), offsetof(ngx_http_headers_out_t, date) },
@@ -151,6 +152,7 @@

{ ngx_null_string, 0 }
};
```

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

Is ngx_http_headers_out dead code?

karton 602 June 25, 2023 03:26AM

Re: Is ngx_http_headers_out dead code?

Sergey Kandaurov 161 July 20, 2023 07:58AM



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

Online Users

Guests: 147
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