Fix heap-buffer-overflow issue that occurs during the initialization of the http {} block. It is incorrect to call ngx_http_conf_get_module_main_conf() within create_loc_conf. This is because the ctx, where the main structures are allocated, is set after create_loc_conf() within ngx_http_block()
Fix heap-buffer-overflow issue that occurs during the initialization of the http {} block. It is incorrect to call ngx_http_conf_get_module_main_conf() within create_loc_conf. This is because the ctx, where the main structures are allocated, is set after create_loc_conf() within ngx_http_block()