diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-11-22 10:13:18 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-11-22 10:13:18 +0800 |
commit | e3bbf5b3b5be384a39bbd1c42d44379b17d94185 (patch) | |
tree | 5786bb3116a474f8ff837e796c35972401b648b1 /src/nxt_router.c | |
parent | 4d6d146e920667a8afeacd355e4fb6a94387066e (diff) | |
download | unit-e3bbf5b3b5be384a39bbd1c42d44379b17d94185.tar.gz unit-e3bbf5b3b5be384a39bbd1c42d44379b17d94185.tar.bz2 |
NJS: added http request prototype.
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r-- | src/nxt_router.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index 26aa9fb1..edc015c5 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -1065,6 +1065,10 @@ nxt_router_temp_conf(nxt_task_t *task) goto fail; } +#if (NXT_HAVE_NJS) + nxt_http_register_js_proto(rtcf->tstr_state->jcf); +#endif + tmp = nxt_mp_create(1024, 128, 256, 32); if (nxt_slow_path(tmp == NULL)) { goto fail; |