Re: ngx_list_free

2023-04-18 Thread Maxim Dounin
Hello! On Tue, Apr 18, 2023 at 03:12:08PM +, Yuval Abadi via nginx wrote: > Thanks > > I just need list not queue, Queue is a double-linked list. > And I want to free the whole list , not one node. In nginx, memory allocations use pools, and in most cases you cannot free individual

RE: ngx_list_free

2023-04-18 Thread Yuval Abadi via nginx
Thanks I just need list not queue, And I want to free the whole list , not one node. -Original Message- From: nginx On Behalf Of Maxim Dounin Sent: Tuesday, 18 April 2023 15:36 To: Yuval Abadi via nginx Subject: Re: ngx_list_free EXTERNAL MAIL: nginx-boun...@nginx.org Hello

Re: ngx_list_free

2023-04-18 Thread Maxim Dounin
Hello! On Tue, Apr 18, 2023 at 06:14:46AM +, Yuval Abadi via nginx wrote: > Ngx_list_t have create api but no free_list api > > Why? > > I wrote my own free_list, is anyone else face this issue? Much like many things in nginx, ngx_list_t structure is an append-only structure, and

ngx_list_free

2023-04-18 Thread Yuval Abadi via nginx
Hi Ngx_list_t have create api but no free_list api Why? I wrote my own free_list, is anyone else face this issue? ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx