lua-nginx-module icon indicating copy to clipboard operation
lua-nginx-module copied to clipboard

The lua-nginx-module-0.10.12 module failed to compile.

Open Massterry opened this issue 2 years ago • 1 comments

The error is as follows:

/usr/local/tl/lua-nginx-module-0.10.12/src/ngx_http_lua_headers_in.c:162:18: error: ‘ngx_http_headers_in_t’ has no member named ‘cookies’ offsetof(ngx_http_headers_in_t, cookies),

The version of nginx I am using is nGINX-1.24.0; I hope it clears up my mystery

Massterry avatar Jul 11 '23 07:07 Massterry

lua-nginx-module-0.10.12 is not compatible with nginx-1.24.0,because ngx_array_t cookies become ngx_table_elt_t cookie. you can use nginx-1.21.6. image

image

ZJfans avatar Jul 11 '23 12:07 ZJfans