From 80deee3903e70287f18e0d296d53caae077e6f99 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Fri, 11 Aug 2017 19:54:40 +0300 Subject: Controller: more HTTP headers and detailed JSON parsing errors. --- src/nxt_router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_router.c') diff --git a/src/nxt_router.c b/src/nxt_router.c index fa2e957d..e55f0fb0 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -661,7 +661,7 @@ nxt_router_conf_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf, static nxt_str_t applications_path = nxt_string("/applications"); static nxt_str_t listeners_path = nxt_string("/listeners"); - conf = nxt_conf_json_parse(tmcf->mem_pool, start, end); + conf = nxt_conf_json_parse(tmcf->mem_pool, start, end, NULL); if (conf == NULL) { nxt_log(task, NXT_LOG_CRIT, "configuration parsing error"); return NXT_ERROR; -- cgit