summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-05-30 15:33:51 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-05-30 15:33:51 +0300
commit16273cf1c606a8dfc9934720b691f90312f9e2ab (patch)
tree61d8f221fd57ffe9d033432da279d595c2847562 /src/nxt_router.h
parent0ba7cfce7572070892bf54ed69b82a822e3ee0d4 (diff)
downloadunit-16273cf1c606a8dfc9934720b691f90312f9e2ab.tar.gz
unit-16273cf1c606a8dfc9934720b691f90312f9e2ab.tar.bz2
Handling routing errors.
Diffstat (limited to 'src/nxt_router.h')
-rw-r--r--src/nxt_router.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index a876b9a4..d9fbfe05 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -21,6 +21,9 @@ typedef struct nxt_http_routes_s nxt_http_routes_t;
typedef struct nxt_router_access_log_s nxt_router_access_log_t;
+#define NXT_HTTP_PASS_ERROR ((nxt_http_pass_t *) -1)
+
+
typedef struct {
nxt_thread_spinlock_t lock;
nxt_queue_t engines;