commit | 515821f33e7b7ddf40d32183d3dcea45ad57ce2c | [log] [tgz] |
---|---|---|
author | Sergey Kandaurov <pluknet@nginx.com> | Wed Jun 07 15:21:42 2017 +0300 |
committer | Sergey Kandaurov <pluknet@nginx.com> | Wed Jun 07 15:21:42 2017 +0300 |
tree | 1e2b7908ab89e682ae5808eedd881175d9df7e2f | |
parent | 0e7e31d9eae8dbf3c76e4291178dd2316e8bba9c [diff] |
SSI: return NGX_ERROR when timefmt memory allocation failed. Previously, when using NGX_HTTP_SSI_ERROR, error was ignored in ssi processing, thus timefmt could be accessed later in ngx_http_ssi_date_gmt_local_variable() as part of "set" handler, or NULL format pointer could be passed to strftime().