]> git.kaiwu.me - njs.git/commit
Fetch: fixed compatibility with nginx-1.22 and below.
authorDmitry Volyntsev <xeioex@nginx.com>
Sat, 4 Feb 2023 06:17:53 +0000 (22:17 -0800)
committerDmitry Volyntsev <xeioex@nginx.com>
Sat, 4 Feb 2023 06:17:53 +0000 (22:17 -0800)
commita13f5afa70d17597e80ad06e78c12148b8d80973
tree9ab6b382ac53fb5734407e45a9fa18ee61be0f2c
parent1a00ba743dbf954ea85a5cff4fe8dcb10b491692
Fetch: fixed compatibility with nginx-1.22 and below.

Previously, ngx_table_elt_t structure was used directly in njs fetch
code.  This prevents from building with nginx-1.22 as the structure
was changed after nginx-1.22.

The fix is to use njs defined structure instead of ngx_table_elt_t.

This fixes #610 issue on Github.
nginx/ngx_js_fetch.c