Handling routing errors.

This commit is contained in:
Igor Sysoev
2019-05-30 15:33:51 +03:00
parent 0ba7cfce75
commit 16273cf1c6
3 changed files with 51 additions and 46 deletions

View File

@@ -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;