Skip to content

Fix compatibility with Nginx 1.23+ (cookie structure changes) - #20

Open
NBK1328 wants to merge 1 commit into
Refinitiv:masterfrom
NBK1328:fix-nginx-1.23-compatibility
Open

Fix compatibility with Nginx 1.23+ (cookie structure changes)#20
NBK1328 wants to merge 1 commit into
Refinitiv:masterfrom
NBK1328:fix-nginx-1.23-compatibility

Conversation

@NBK1328

@NBK1328 NBK1328 commented Apr 16, 2026

Copy link
Copy Markdown

This PR fixes the "Error 1" during compilation with Nginx 1.23.0 and newer.
The headers_in.cookies array was replaced by headers_in.cookie in Nginx core.
I've updated the call to ngx_http_parse_multi_header_lines to use the new signature while maintaining backward compatibility using #if (nginx_version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant