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

bugfix: a segmentation fault might occur when SSL renegotiation happens

Open tokers opened this issue 7 years ago • 16 comments

Please see #1354 for more details.

Since it is tough to distinguish whether current connection is upgraded to HTTP/2 in the ngx_http_lua_ssl_cert_handler context. This PR just returns 0 (marks failed) when SSL renegotiation happens. Nginx already prohibited the SSL renegotiation, so it is safe.

I hereby granted the copyright of the changes in this pull request to the authors of this lua-nginx-module project.

tokers avatar Jul 24 '18 14:07 tokers