91c91
< = nxt_string("{ \"sockets\": {}, \"applications\": {} }");
---
> = nxt_string("{ \"listeners\": {}, \"applications\": {} }");
595a596
> nxt_str_set(&resp.json, "{ \"error\": \"Invalid JSON.\" }");
622a624,630
> if (nxt_slow_path(nxt_conf_validate(value) != NXT_OK)) {
> status = 400;
> nxt_str_set(&resp.json,
> "{ \"error\": \"Invalid configuration.\" }");
> goto done;
> }
>
676a685,691
> if (nxt_slow_path(nxt_conf_validate(value) != NXT_OK)) {
> status = 400;
> nxt_str_set(&resp.json,
> "{ \"error\": \"Invalid configuration.\" }");
> goto done;
> }
>
700d714
< nxt_str_set(&resp.json, "{ \"error\": \"Invalid JSON.\" }");