diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /www/freenginx-devel/files/extra-patch-ngx_http_redis_module.c | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'www/freenginx-devel/files/extra-patch-ngx_http_redis_module.c')
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-ngx_http_redis_module.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/www/freenginx-devel/files/extra-patch-ngx_http_redis_module.c b/www/freenginx-devel/files/extra-patch-ngx_http_redis_module.c deleted file mode 100644 index 3dacd39ee6c4..000000000000 --- a/www/freenginx-devel/files/extra-patch-ngx_http_redis_module.c +++ /dev/null @@ -1,34 +0,0 @@ ---- ../ngx_http_redis-0.3.9/ngx_http_redis_module.c.orig 2022-07-10 22:10:19.031893000 -0400 -+++ ../ngx_http_redis-0.3.9/ngx_http_redis_module.c 2022-07-10 22:09:41.271731000 -0400 -@@ -562,7 +562,7 @@ - /* if defined gzip_flag... */ - if (rlcf->gzip_flag) { - /* hash init */ -- h = ngx_list_push(&r->upstream->headers_in.headers); -+ h = ngx_list_push(&r->headers_out.headers); - if (h == NULL) { - return NGX_ERROR; - } -@@ -571,19 +571,11 @@ - * add Content-Encoding header for future gunzipping - * with ngx_http_gunzip_filter module - */ -- h->hash = ngx_hash(ngx_hash(ngx_hash(ngx_hash( -- ngx_hash(ngx_hash(ngx_hash( -- ngx_hash(ngx_hash(ngx_hash( -- ngx_hash(ngx_hash(ngx_hash( -- ngx_hash(ngx_hash('c', 'o'), 'n'), 't'), 'e'), -- 'n'), 't'), '-'), 'e'), 'n'), 'c'), 'o'), -- 'd'), 'i'), 'n'), 'g'); -+ h->hash = 1; -+ h->next = NULL; - ngx_str_set(&h->key, "Content-Encoding"); - ngx_str_set(&h->value, "gzip"); -- h->lowcase_key = (u_char*) "content-encoding"; --#if (NGX_HTTP_GZIP) -- u->headers_in.content_encoding = h; --#endif -+ r->headers_out.content_encoding = h; - } - - /* try to find end of string */ |
