Searched hist:1813 (Results 1 – 2 of 2) sorted by relevance
/unit/src/ |
H A D | nxt_cert.c | diff 1813:10aaca1e582e Mon Mar 15 11:57:00 UTC 2021 Valentin Bartenev <vbart@nginx.com> Fixed certificates loading on startup with some filesystems.
It appears that readdir() on Linux detects file types unreliably, always setting the "d_type" field to DT_UNKNOWN for some less common filesystems. As a result, all files were skipped and no certificate bundles were found when the state directory was located on such filesystems.
Skipping "." and ".." instead of any non-regular files should be enough, as no other non-regular files normally appear in this directory.
This closes #368 issue on GitHub.
|
/unit/docs/ |
H A D | changes.xml | diff 1813:10aaca1e582e Mon Mar 15 11:57:00 UTC 2021 Valentin Bartenev <vbart@nginx.com> Fixed certificates loading on startup with some filesystems.
It appears that readdir() on Linux detects file types unreliably, always setting the "d_type" field to DT_UNKNOWN for some less common filesystems. As a result, all files were skipped and no certificate bundles were found when the state directory was located on such filesystems.
Skipping "." and ".." instead of any non-regular files should be enough, as no other non-regular files normally appear in this directory.
This closes #368 issue on GitHub.
|