Welcome! Log In Create A New Profile

Advanced

Re: Lua Variable access bug?

agentzh
May 17, 2012 09:16AM
On Thu, May 17, 2012 at 9:06 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
>
> No, disregard this patch.  It will break things if new
> configuration will be rejected for some reason, as global in
> master will be left in an inconsistent state.  As a result
> incorrect worker processes will be spawn e.g. after abnormal
> termination of a worker process (or after SIGWINCH + SIGHUP
> sequence).
>
> Allocating temporary copy of a variable looks like the only
> correct way.
>

Indeed. Modifying static/global variables is almost always dangerous
for configuration reloading :)

Thanks!
-agentzh

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

Lua Variable access bug?

Sirsiwal, Umesh 1682 May 15, 2012 10:18PM

Re: Lua Variable access bug? Attachments

agentzh 509 May 17, 2012 04:36AM

Re: Lua Variable access bug?

Maxim Dounin 497 May 17, 2012 05:04AM

Re: Lua Variable access bug?

agentzh 477 May 17, 2012 07:44AM

Re: Lua Variable access bug?

Maxim Dounin 466 May 17, 2012 09:08AM

Re: Lua Variable access bug?

agentzh 529 May 17, 2012 09:16AM

Re: Lua Variable access bug?

Sirsiwal, Umesh 488 May 17, 2012 09:38AM

Re: Lua Variable access bug?

Maxim Dounin 526 May 17, 2012 02:12PM

Re: Lua Variable access bug?

lanshun zhou 481 May 17, 2012 11:00PM

Re: Lua Variable access bug?

Maxim Dounin 592 May 18, 2012 07:10AM

Re: Lua Variable access bug? Attachments

lanshun zhou 603 May 22, 2012 06:34AM



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

Online Users

Guests: 276
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready