MINOR: acl: define explicit HTTP_3.0
Some ACL shortcuts are defined to match HTTP requests by their version. This exists for HTTP_1.0 to HTTP_2.0. This patch adds HTTP_3.0 definition.
This commit is contained in:
parent
decf29d06d
commit
89da4e9e5d
@ -23036,6 +23036,7 @@ HTTP req.proto_http match if request protocol is
|
||||
HTTP_1.0 req.ver 1.0 match if HTTP request version is 1.0
|
||||
HTTP_1.1 req.ver 1.1 match if HTTP request version is 1.1
|
||||
HTTP_2.0 req.ver 2.0 match if HTTP request version is 2.0
|
||||
HTTP_3.0 req.ver 3.0 match if HTTP request version is 3.0
|
||||
HTTP_CONTENT req.hdr_val(content-length) gt 0 match an existing content-length in the HTTP request
|
||||
HTTP_URL_ABS url_reg ^[^/:]*:// match absolute URL with scheme
|
||||
HTTP_URL_SLASH url_beg / match URL beginning with "/"
|
||||
|
@ -710,6 +710,7 @@ const struct {
|
||||
{ .name = "HTTP_1.0", .expr = {"req.ver","1.0",""}},
|
||||
{ .name = "HTTP_1.1", .expr = {"req.ver","1.1",""}},
|
||||
{ .name = "HTTP_2.0", .expr = {"req.ver","2.0",""}},
|
||||
{ .name = "HTTP_3.0", .expr = {"req.ver","3.0",""}},
|
||||
{ .name = "METH_CONNECT", .expr = {"method","CONNECT",""}},
|
||||
{ .name = "METH_DELETE", .expr = {"method","DELETE",""}},
|
||||
{ .name = "METH_GET", .expr = {"method","GET","HEAD",""}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user