summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2022-10-12 08:21:02 +0800
committerZhidao HONG <z.hong@f5.com>2022-10-12 08:21:02 +0800
commit7aa6b0629897235684961dfb9aa16e226efa27e6 (patch)
tree7eb408ef4de063fe997dd334fe1b75e52819e6ac /src/nxt_http.h
parent08dab702cb4140613e942b86f54824b3c7dea2ad (diff)
downloadunit-7aa6b0629897235684961dfb9aa16e226efa27e6.tar.gz
unit-7aa6b0629897235684961dfb9aa16e226efa27e6.tar.bz2
HTTP: added a $request_time variable.
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index c2e85840..d5bff712 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -140,6 +140,8 @@ struct nxt_http_request_s {
nxt_buf_t *out;
const nxt_http_request_state_t *state;
+ nxt_nsec_t start_time;
+
nxt_str_t host;
nxt_str_t server_name;
nxt_str_t target;