Is ngx_http_headers_out dead code?
洪志道
hongzhidao at gmail.com
Sun Jun 25 07:25:29 UTC 2023
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20230625/55545139/attachment.htm>
More information about the nginx-devel
mailing list