summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-07-23 14:24:55 +0300
committerMax Romanov <max.romanov@nginx.com>2020-07-23 14:24:55 +0300
commit137c1e736f4572198929ecd4f7e88a2586224650 (patch)
treea08fb46934acc2630446feea7d64b7bcd4e07a96 /test
parentfa696569f9e2c8d3d286eb14891c0adc797200d8 (diff)
downloadunit-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 'test')
0 files changed, 0 insertions, 0 deletions