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

May trigger coredump when ngx_http_set_builtin_multi_header and subrequest?

Open haiyyang opened this issue 2 years ago • 0 comments

1 ngx_http_set_builtin_multi_header will destroy and reinit multi header array in the main request, but the header address is reserved in header variable of the subrequest 2 if ngx_array_destroy really release the memory and reuse by other logic, then subrequest access the headers may cause error image

haiyyang avatar Mar 09 '23 16:03 haiyyang