aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-01-22 16:34:06 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-01-22 16:34:06 +0300
commit9e489d208fff35c490b43980a064c38cc8dc4f2c (patch)
tree13434e205541c72867fff50bcd2c05662078d611 /src/http/ngx_http.h
parentf3c9e9f9616066c6f1d16b9b1e01b7a3d0e2503a (diff)
downloadnginx-9e489d208fff35c490b43980a064c38cc8dc4f2c.tar.gz
nginx-9e489d208fff35c490b43980a064c38cc8dc4f2c.zip
HTTP/3: refactored request parser.
The change reduces diff to the default branch for src/http/ngx_http_request.c and src/http/ngx_http_parse.c.
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r--src/http/ngx_http.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h
index 2a3d81a37..778744d71 100644
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -134,6 +134,11 @@ void ngx_http_handler(ngx_http_request_t *r);
void ngx_http_run_posted_requests(ngx_connection_t *c);
ngx_int_t ngx_http_post_request(ngx_http_request_t *r,
ngx_http_posted_request_t *pr);
+ngx_int_t ngx_http_set_virtual_server(ngx_http_request_t *r,
+ ngx_str_t *host);
+ngx_int_t ngx_http_validate_host(ngx_str_t *host, ngx_pool_t *pool,
+ ngx_uint_t alloc);
+void ngx_http_close_request(ngx_http_request_t *r, ngx_int_t rc);
void ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc);
void ngx_http_free_request(ngx_http_request_t *r, ngx_int_t rc);