Re: Variable value is resetting

2021-11-10 Thread malzad
Hi Maxim, Thanks a lot for the response. I think I get it why I was having this problem. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292794,292799#msg-292799 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinf

Re: Variable value is resetting

2021-11-10 Thread Maxim Dounin
Hello! On Wed, Nov 10, 2021 at 01:12:22PM -0500, malzad wrote: > I have a static int variable in a load balancing module and initially set it > to 0. I want to update this variable when there will be any HTTP requests > with certain criteria. It gets updated but whenever the module receives a >

Variable value is resetting

2021-11-10 Thread malzad
Hi, I have a static int variable in a load balancing module and initially set it to 0. I want to update this variable when there will be any HTTP requests with certain criteria. It gets updated but whenever the module receives a new HTTP request ( or after receiving a few HTTP requests), that int