<div dir="ltr"><div class="gmail_quote"><br><br><div dir="ltr"># HG changeset patch<br># User Liu Yan <<a href="mailto:ssdrliu@gmail.com" target="_blank">ssdrliu@gmail.com</a>><br># Date 1682238162 -28800<br>#      Sun Apr 23 16:22:42 2023 +0800<br># Node ID 6ae32d27ce0ae2e0be9f5999aa4ebf27a34e12a5<br># Parent  77d5c662f3d9d9b90425128109d3369c30ef5f07<br>Removed unused code, maybe forgotten in 3b763d36e055<br><br>diff -r 77d5c662f3d9 -r 6ae32d27ce0a src/http/ngx_http_header_filter_module.c<br>--- a/src/http/ngx_http_header_filter_module.c  Tue Apr 18 06:28:46 2023 +0300<br>+++ b/src/http/ngx_http_header_filter_module.c  Sun Apr 23 16:22:42 2023 +0800<br>@@ -132,27 +132,6 @@<br> };<br><br><br>-ngx_http_header_out_t  ngx_http_headers_out[] = {<br>-    { ngx_string("Server"), offsetof(ngx_http_headers_out_t, server) },<br>-    { ngx_string("Date"), offsetof(ngx_http_headers_out_t, date) },<br>-    { ngx_string("Content-Length"),<br>-                 offsetof(ngx_http_headers_out_t, content_length) },<br>-    { ngx_string("Content-Encoding"),<br>-                 offsetof(ngx_http_headers_out_t, content_encoding) },<br>-    { ngx_string("Location"), offsetof(ngx_http_headers_out_t, location) },<br>-    { ngx_string("Last-Modified"),<br>-                 offsetof(ngx_http_headers_out_t, last_modified) },<br>-    { ngx_string("Accept-Ranges"),<br>-                 offsetof(ngx_http_headers_out_t, accept_ranges) },<br>-    { ngx_string("Expires"), offsetof(ngx_http_headers_out_t, expires) },<br>-    { ngx_string("Cache-Control"),<br>-                 offsetof(ngx_http_headers_out_t, cache_control) },<br>-    { ngx_string("ETag"), offsetof(ngx_http_headers_out_t, etag) },<br>-<br>-    { ngx_null_string, 0 }<br>-};<br>-<br>-<br> static ngx_int_t<br> ngx_http_header_filter(ngx_http_request_t *r)<br> {<br>diff -r 77d5c662f3d9 -r 6ae32d27ce0a src/http/ngx_http_request.h<br>--- a/src/http/ngx_http_request.h       Tue Apr 18 06:28:46 2023 +0300<br>+++ b/src/http/ngx_http_request.h       Sun Apr 23 16:22:42 2023 +0800<br>@@ -611,7 +611,6 @@<br><br><br> extern ngx_http_header_t       ngx_http_headers_in[];<br>-extern ngx_http_header_out_t   ngx_http_headers_out[];<br><br><br> #define ngx_http_set_log_request(log, r)                                      \<br></div>
</div></div>