Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx 1.24 #264

Open
ericzielonka opened this issue Apr 24, 2023 · 4 comments
Open

Nginx 1.24 #264

ericzielonka opened this issue Apr 24, 2023 · 4 comments

Comments

@ericzielonka
Copy link

Hey.

i get this error, if i compile this module with nginx 1.24:

/opt/ngx_http_redis-0.3.9/ngx_http_redis_module.c: In function ‘ngx_http_redis_process_header’:
/opt/ngx_http_redis-0.3.9/ngx_http_redis_module.c:585:26: error: ‘ngx_http_upstream_headers_in_t’ {aka ‘struct ’} has no member named ‘content_encoding’
585 | u->headers_in.content_encoding = h;
| ^
make[1]: *** [objs/Makefile:1870: objs/addon/ngx_http_redis-0.3.9/ngx_http_redis_module.o] Error 1
make[1]: Leaving directory '/opt/nginx-1.24.0'
make: *** [Makefile:16: modules] Error 2

Nginx 1.22 works fine.

@kkmuffme
Copy link

nginx 1.24 isn't supported yet, see openresty/openresty#905

@sharewax
Copy link

sharewax commented Sep 5, 2023

@ericzielonka you can try fork for it here https://github.com/centminmod/ngx_http_redis/

@nikhilrakuten
Copy link

@zhuizhuhaomeng is there any update on this ? I am not able to use set_keepalive() with nginx 1.24 version

@zhuizhuhaomeng
Copy link
Contributor

zhuizhuhaomeng commented Sep 6, 2024

Please wait for openresty-1.27.1.

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

No branches or pull requests

5 participants