Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:apps
nginx-module-headers-more
134.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 134.patch of Package nginx-module-headers-more
From 57ef661154ba32d0b072d640038754b348808e2e Mon Sep 17 00:00:00 2001 From: somni <82272900+somnisomni@users.noreply.github.com> Date: Sat, 18 Jun 2022 00:10:06 +0900 Subject: [PATCH] bugfix: fixed build error with nginx >= 1.23.0 This will fix #132 --- src/ngx_http_headers_more_headers_in.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ngx_http_headers_more_headers_in.c b/src/ngx_http_headers_more_headers_in.c index c3eb8f7..84c7525 100644 --- a/src/ngx_http_headers_more_headers_in.c +++ b/src/ngx_http_headers_more_headers_in.c @@ -158,9 +158,15 @@ static ngx_http_headers_more_set_header_t ngx_http_headers_more_set_handlers[] ngx_http_set_builtin_header }, #endif +#if defined(nginx_version) && nginx_version >= 1023000 + { ngx_string("Cookie"), + offsetof(ngx_http_headers_in_t, cookie), + ngx_http_set_builtin_multi_header }, +#else { ngx_string("Cookie"), offsetof(ngx_http_headers_in_t, cookies), ngx_http_set_builtin_multi_header }, +#endif { ngx_null_string, 0, ngx_http_set_header } };
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor