comparison src/misc/ngx_cpp_test_module.cpp @ 4496:be6c250b827b

Fixed null pointer dereference in resolver (ticket #91). The cycle->new_log.file may not be set before config parsing finished if there are no error_log directive defined at global level. Fix is to copy it after config parsing. Patch by Roman Arutyunyan.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 27 Feb 2012 16:57:02 +0000
parents 69ef10ad7011
children 4c36e15651f7
comparison
equal deleted inserted replaced
4495:b4379a91f9b5 4496:be6c250b827b