Welcome! Log In Create A New Profile

Advanced

question on ngx_reset_pool() 'current' pointer not reset

Ravi Chunduru
January 16, 2014 05:58PM
Hi Nginx experts,
I am new to nginx and started looking into the code to understand the
architecture.

Currently, I am looking into nginx pool implementation. I have a question
on ngx_reset_pool().
It seems to set back 'last' to the location as expected. But why 'current'
and 'failed' are not reset.

Does it not make those memory blocks which are not no more referenced by
parsing from 'current' made useless?

Thanks,
--
Ravi
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

question on ngx_reset_pool() 'current' pointer not reset

Ravi Chunduru 731 January 16, 2014 05:58PM

Re: question on ngx_reset_pool() 'current' pointer not reset

Maxim Dounin 301 January 16, 2014 07:08PM

Re: question on ngx_reset_pool() 'current' pointer not reset

Ravi Chunduru 366 January 16, 2014 07:22PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 138
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready