summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:48 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:48 +0300
commit14e56fe8c869af490f76b7e88ac5d02a7ab4dd89 (patch)
tree464bd0ffab93eff1a85d3c029f55ea0d599e6040 /src/nxt_router.h
parent96cd6558ce35216fe8cfd7663c7af3345e64c8a8 (diff)
downloadunit-14e56fe8c869af490f76b7e88ac5d02a7ab4dd89.tar.gz
unit-14e56fe8c869af490f76b7e88ac5d02a7ab4dd89.tar.bz2
Replacing pass with action.
Diffstat (limited to 'src/nxt_router.h')
-rw-r--r--src/nxt_router.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index ec18ff48..348048e9 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -16,12 +16,12 @@ typedef struct nxt_http_request_s nxt_http_request_t;
#include <nxt_application.h>
-typedef struct nxt_http_pass_s nxt_http_pass_t;
+typedef struct nxt_http_action_s nxt_http_action_t;
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)
+#define NXT_HTTP_ACTION_ERROR ((nxt_http_action_t *) -1)
typedef struct {
@@ -154,7 +154,7 @@ typedef struct {
nxt_queue_link_t link;
nxt_router_conf_t *router_conf;
- nxt_http_pass_t *pass;
+ nxt_http_action_t *action;
/*
* A listen socket time can be shorter than socket configuration life