diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-07-23 14:24:55 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-07-23 14:24:55 +0300 |
commit | 137c1e736f4572198929ecd4f7e88a2586224650 (patch) | |
tree | a08fb46934acc2630446feea7d64b7bcd4e07a96 /src/nxt_php_sapi.c | |
parent | fa696569f9e2c8d3d286eb14891c0adc797200d8 (diff) | |
download | unit-137c1e736f4572198929ecd4f7e88a2586224650.tar.gz unit-137c1e736f4572198929ecd4f7e88a2586224650.tar.bz2 |
Fixing main and application port structs file descriptor init.
Correct value for non-initialized file descriptor is -1, because most of the
checks in libunit compares file descriptor with -1 before performing an
action. Using 0 as default value, may cause to close file descriptor #0, this
may affect application logic.
It is not required to list this patch in changelog because impact is not seen
by end users.
Diffstat (limited to 'src/nxt_php_sapi.c')
0 files changed, 0 insertions, 0 deletions