summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-05 13:31:45 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-05 13:31:45 +0300
commitf3107f3896c199a5bc166f57ccd9fef2823ccdaf (patch)
tree1bb2388940d3ad1be08ababfecd270c65289cf26 /src/nxt_application.h
parentf05d674126f3ec3f147f645231a1357e4a0784bf (diff)
downloadunit-f3107f3896c199a5bc166f57ccd9fef2823ccdaf.tar.gz
unit-f3107f3896c199a5bc166f57ccd9fef2823ccdaf.tar.bz2
Complex target parser copied from NGINX.
nxt_app_request_header_t fields renamed: - 'path' renamed to 'target'. - 'path_no_query' renamed to 'path' and contains parsed value.
Diffstat (limited to '')
-rw-r--r--src/nxt_application.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index fe36ea4d..9d8b1054 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -17,10 +17,10 @@ typedef struct {
typedef struct {
nxt_str_t method;
+ nxt_str_t target;
+ nxt_str_t version;
nxt_str_t path;
- nxt_str_t path_no_query;
nxt_str_t query;
- nxt_str_t version;
nxt_list_t *fields;