commit | d3d8d03d98c6624c8b15b81f7b80dd22fc3f9fd2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Aug 10 15:35:36 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Aug 17 10:16:22 2021 +0200 |
tree | ec8340a1cb3f3dd9e446ea9c6afb49d25f0be1a0 | |
parent | c5b5e7b475a080efe38400013ea34f2e2439816c [diff] |
MINOR: http: add a new function http_validate_scheme() to validate a scheme While http_parse_scheme() extracts a scheme from a URI by extracting exactly the valid characters and stopping on delimiters, this new function performs the same on a fixed-size string.