From e3af18834d7cc32734cba7532d8864bb343b416b Mon Sep 17 00:00:00 2001 From: Axel Duch Date: Tue, 17 Nov 2020 15:03:30 +0000 Subject: Router: matching regular expressions support. --- src/nxt_http.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nxt_http.h') diff --git a/src/nxt_http.h b/src/nxt_http.h index 08181520..1418be95 100644 --- a/src/nxt_http.h +++ b/src/nxt_http.h @@ -7,6 +7,8 @@ #ifndef _NXT_HTTP_H_INCLUDED_ #define _NXT_HTTP_H_INCLUDED_ +#include + typedef enum { NXT_HTTP_UNSET = -1, @@ -168,6 +170,10 @@ struct nxt_http_request_s { void *req_rpc_data; +#if (NXT_HAVE_REGEX) + nxt_regex_match_t *regex_match; +#endif + nxt_http_peer_t *peer; nxt_buf_t *last; -- cgit