Added support for nginx 1.23.x (due to Change in internal API: now header lines are represented as linked lists).
Fixed some inconsistencies with the indentation, this action was made automatically with CLion.
I'm maintaining compatibility with old versions (pre 1.23.x) too, but in my opinion it would be a good idea to remove these checks and leave support for nginx >= 1.23 only once nginx publishes a new stable release.
Also, not related to this PR but I think it would also be a nice to put all debug prints inside NGX_DEBUG checks.
What do you think about these two suggestions @kyprizel?
This PR fixes https://github.com/kyprizel/testcookie-nginx-module/issues/76.
Change in internal API: now header lines are represented as linked lists
).I'm maintaining compatibility with old versions (pre 1.23.x) too, but in my opinion it would be a good idea to remove these checks and leave support for nginx >= 1.23 only once nginx publishes a new stable release.
Also, not related to this PR but I think it would also be a nice to put all debug prints inside
NGX_DEBUG
checks.What do you think about these two suggestions @kyprizel?