aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2018-06-07 20:01:41 +0300
committerRuslan Ermilov <ru@nginx.com>2018-06-07 20:01:41 +0300
commitf11a9cbdd0f5806131e4308d2ce98a2a97ca4007 (patch)
tree47bbe8b8fc937f6ebf68c5cc3b2cecaeb4f80169 /src/http/ngx_http_request.h
parent70b6e7a299e6488c2f59f1768c600921bd08a2d7 (diff)
downloadnginx-f11a9cbdd0f5806131e4308d2ce98a2a97ca4007.tar.gz
nginx-f11a9cbdd0f5806131e4308d2ce98a2a97ca4007.zip
Added r->schema.
For HTTP/1, it keeps scheme from the absolute form of URI. For HTTP/2, the :scheme request pseudo-header field value.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index 39baa0f0c..6bfff96ef 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -412,6 +412,7 @@ struct ngx_http_request_s {
ngx_str_t method_name;
ngx_str_t http_protocol;
+ ngx_str_t schema;
ngx_chain_t *out;
ngx_http_request_t *main;