commit | a1a8defb4956ce5416ff633c47da2dc4d473fac0 | [log] [tgz] |
---|---|---|
author | Piotr Sikora <piotr@cloudflare.com> | Tue Jun 03 10:53:48 2014 -0700 |
committer | Piotr Sikora <piotr@cloudflare.com> | Tue Jun 03 10:53:48 2014 -0700 |
tree | 2c25bc4d32719bf3fea00372c8e8d70bd58a6db6 | |
parent | afb4aafc6e42781068ce3f23d22fd6e2012787c7 [diff] |
Access log: fix default value, broken by cb308813b453. log->filter ("if" parameter) was uninitialized when the default value was being used, which would lead to a crash (SIGSEGV) when access_log directive wasn't specified in the configuration. Zero-fill the whole structure instead of zeroing fields one-by-one in order to prevent similar issues in the future. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>