summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2024-08-16 00:06:45 +0800
committerZhidao HONG <z.hong@f5.com>2024-08-20 09:17:23 +0800
commit82e168fe01306cf03f8eaba284f31f7285347424 (patch)
treef04ed5df9b62e967315fc87916ad48137135c674 /src/nxt_http.h
parent5f6ae1a189b1736eb7cc35f1ff8018fd8606db9b (diff)
downloadunit-82e168fe01306cf03f8eaba284f31f7285347424.tar.gz
unit-82e168fe01306cf03f8eaba284f31f7285347424.tar.bz2
http: Refactor out nxt_tstr_cond_t from the access log module
This nxt_tstr_cond_t will be reused for the feature of adding "if" option to the "match" object. The two "if" options have the same usage.
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index fe5e72a8..5369c8e1 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -441,6 +441,9 @@ void nxt_h1p_complete_buffers(nxt_task_t *task, nxt_h1proto_t *h1p,
nxt_bool_t all);
nxt_msec_t nxt_h1p_conn_request_timer_value(nxt_conn_t *c, uintptr_t data);
+int nxt_http_cond_value(nxt_task_t *task, nxt_http_request_t *r,
+ nxt_tstr_cond_t *cond);
+
extern const nxt_conn_state_t nxt_h1p_idle_close_state;
#endif /* _NXT_HTTP_H_INCLUDED_ */