Hello!
On Wed, Mar 28, 2018 at 03:47:04PM -0400, Ryan Burn wrote:
> I have a module that registers a handler to run in
> NGX_HTTP_PREACCESS_PHASE. The handler adds headers to
> request->headers_in.headers. This works as I would expect most of the
> time. But I am seeing cases of some crashes when calling
>
> ngx_list_push(&request->headers_in.headers));
>
> Are there any restrictions where you are not allowed to push to
> headers_in.headers like that in the preaccess phase?
You are not allowed to modify r->headers_in, at any time.
--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel