summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-08-11 19:54:40 +0300
committerValentin Bartenev <vbart@nginx.com>2017-08-11 19:54:40 +0300
commit80deee3903e70287f18e0d296d53caae077e6f99 (patch)
treedf447d1ea0e9da893de291a22d4dc10ea7e0475c /src/nxt_router.c
parent8bb88aaf5186721db20dd07e1976d52a1bc8332a (diff)
downloadunit-80deee3903e70287f18e0d296d53caae077e6f99.tar.gz
unit-80deee3903e70287f18e0d296d53caae077e6f99.tar.bz2
Controller: more HTTP headers and detailed JSON parsing errors.
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c2
1 files changed, 1 insertions, 1 deletions
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;