Fixing isolated process PID manipulation.
Registering an isolated PID in the global PID hash is wrong because it can be duplicated. Isolated processes are stored only in the children list until the response for the WHOAMI message is processed and the global PID is discovered. To remove isolated siblings, a pointer to the children list is introduced in the nxt_process_init_t struct. This closes #633 issue on GitHub.
This commit is contained in:
committed by
Andrew Clayton
parent
d37b76232e
commit
900828cc4b
@@ -93,6 +93,13 @@ the ruby application process could crash if it's interrupted by SIGTERM signal.
|
||||
</para>
|
||||
</change>
|
||||
|
||||
<change type="bugfix">
|
||||
<para>
|
||||
when isolated PID numbers reach the prototype process host PID,
|
||||
the prototype crashed.
|
||||
</para>
|
||||
</change>
|
||||
|
||||
</changes>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user