summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2019-03-06 15:26:45 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2019-03-06 15:26:45 +0300
commitdccb4cf3548724fbec993c5bb83edf928d0b23bf (patch)
treec0484c59ccd8e868ae1373351def5edb28c28874 /src/nxt_http.h
parente1c4568680b63c478e8a0e111d8ad9316a96c442 (diff)
downloadunit-dccb4cf3548724fbec993c5bb83edf928d0b23bf.tar.gz
unit-dccb4cf3548724fbec993c5bb83edf928d0b23bf.tar.bz2
Removed unnecessary abstraction layer.
Diffstat (limited to '')
-rw-r--r--src/nxt_http.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index 23c406d3..3cf3e38e 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -114,6 +114,7 @@ struct nxt_http_request_s {
const nxt_http_request_state_t *state;
nxt_str_t host;
+ nxt_str_t server_name;
nxt_str_t target;
nxt_str_t version;
nxt_str_t *method;
@@ -131,6 +132,9 @@ struct nxt_http_request_s {
nxt_sockaddr_t *remote;
nxt_sockaddr_t *local;
+ nxt_timer_t timer;
+ void *timer_data;
+
nxt_buf_t *last;
nxt_http_response_t resp;