NJS: supported loadable modules.
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
#if (NXT_TLS)
|
||||
#include <nxt_cert.h>
|
||||
#endif
|
||||
#if (NXT_HAVE_NJS)
|
||||
#include <nxt_script.h>
|
||||
#endif
|
||||
|
||||
#include <sys/mount.h>
|
||||
|
||||
@@ -607,6 +610,10 @@ static nxt_port_handlers_t nxt_main_process_port_handlers = {
|
||||
#if (NXT_TLS)
|
||||
.cert_get = nxt_cert_store_get_handler,
|
||||
.cert_delete = nxt_cert_store_delete_handler,
|
||||
#endif
|
||||
#if (NXT_HAVE_NJS)
|
||||
.script_get = nxt_script_store_get_handler,
|
||||
.script_delete = nxt_script_store_delete_handler,
|
||||
#endif
|
||||
.access_log = nxt_main_port_access_log_handler,
|
||||
.rpc_ready = nxt_port_rpc_handler,
|
||||
|
||||
Reference in New Issue
Block a user