Fixing prototype process crash.

A prototype stores linked application processes structures.  When an
application process terminates, it's removed from the list.  To avoid double
removal, the pointer to the next element should be set to NULL.

The issue was introduced in c8790d2a89bb.
This commit is contained in:
Max Romanov
2021-12-01 18:05:50 +03:00
parent b8ea9d34fd
commit 97e61aad73
2 changed files with 9 additions and 0 deletions

View File

@@ -52,6 +52,13 @@ fastcgi_finish_request() was called in the OPcache preloading script.
</para>
</change>
<change type="bugfix">
<para>
a prototype process could crash on an application process exit; the bug had
appeared in 1.26.0.
</para>
</change>
</changes>