aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2019-01-31 19:36:51 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2019-01-31 19:36:51 +0300
commitf7d53c4ae4cf126570bc8290773eb84671632aac (patch)
treeda45cc084cba06dd2afa994a2de7458c7d99944c /src/http/ngx_http_request.c
parent80f105b054b6d7da2da8650f763471f27b47a562 (diff)
downloadnginx-f7d53c4ae4cf126570bc8290773eb84671632aac.tar.gz
nginx-f7d53c4ae4cf126570bc8290773eb84671632aac.zip
SSL: separate checks for errors in ngx_ssl_read_password_file().
Checking multiple errors at once is a bad practice, as in general it is not guaranteed that an object can be used after the error. In this particular case, checking errors after multiple allocations can result in excessive errors being logged when there is no memory available.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions