summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2019-09-19 02:47:09 +0300
committerValentin Bartenev <vbart@nginx.com>2019-09-19 02:47:09 +0300
commit08a8d1510d5f73d91112ead9e6ac075fb7d2bac0 (patch)
treef4dceb5af955f40820b0edbde4bdae41084c80ce /src/nxt_router.h
parentc554941b4f826d83d92d5ca8d7713bea4167896e (diff)
downloadunit-08a8d1510d5f73d91112ead9e6ac075fb7d2bac0.tar.gz
unit-08a8d1510d5f73d91112ead9e6ac075fb7d2bac0.tar.bz2
Basic support for serving static files.
Diffstat (limited to '')
-rw-r--r--src/nxt_router.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index b55a4de3..ec18ff48 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -38,9 +38,13 @@ typedef struct {
typedef struct {
uint32_t count;
uint32_t threads;
+
+ nxt_mp_t *mem_pool;
+
nxt_router_t *router;
nxt_http_routes_t *routes;
- nxt_mp_t *mem_pool;
+
+ nxt_lvlhsh_t mtypes_hash;
nxt_router_access_log_t *access_log;
} nxt_router_conf_t;