-
Notifications
You must be signed in to change notification settings - Fork 2k
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
HTTP/2 requests to Lua scripts fail when using 'lua_check_client_abort on' #724
Comments
@igorclark Thanks for the report! We'll look into this as soon as we can manage :) |
@igorclark HTTP/2 has not yet been officially supported by this module. Needs to do a lot of work on our side. |
Hi @agentzh, sorry for the delay in replying, thanks for the update! Understood. What level of priority is HTTP/2 for you and the team? |
@igorclark Not on the top, but still quite high. |
Hi. Is there any "donation" that might speed up work on this issue? |
@manwe-pl I don't have the time for this right now but other OpenResty developers may be interested in sponsorship. Will you please ask instead on the openresty-en mailing list? Please see https://openresty.org/en/community.html Thank you very much! |
This only seems to affect
*_by_lua_*
scripts that output content directly;rewrite_by_lua_*
andaccess_by_lua_*
passages that don'tngx.print()
orngx.say()
anything seem to work as normal.I'm running openresty 1.9.7.4 on debian 7.9 in a Vagrant Virtualbox VM.
Steps to reproduce:
Build/make/install openresty 1.9.7.4 from release
Generate self-signed SSL cert for relevant IP:
openssl genrsa -out /etc/ssl/192.168.56.110.key 2048
openssl req -new -x509 -key /etc/ssl/192.168.56.110.key -out /etc/ssl/192.168.56.110.cert -days 3650 -subj /CN=192.168.56.110
Add
server{}
block to /etc/nginx/nginx.conf:Request
/test-lua
:Error appears in error.log:
2016/03/25 15:14:06 [alert] 11105#0: *1 epoll_ctl(1, 3) failed (17: File exists), client: 192.168.56.1, server: , request: "GET /test-lua HTTP/2.0", host: "192.168.56.110"
Switch off lua_check_client_abort in
/etc/nginx/nginx.conf
, restart nginx:lua_check_client_abort off;
Retry request to
/test-lua
:The text was updated successfully, but these errors were encountered: