commit | 42993a86c9ee1cd6e921395dd446617d79b64a18 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 14 10:31:25 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 14 11:13:32 2019 +0200 |
tree | 3d574d6dbf3dc3162444304b91036c5b79ca186e | |
parent | a9a5c04c23cc6aed143ac9d0aa9f1709718a3462 [diff] |
MINOR: mux-h1: Set flags about the request's scheme on the start-line We first try to figure out if the URI of the start-line is absolute or not. So, if it does not start by a slash ("/"), it means the URI is an absolute one and the flag HTX_SL_F_HAS_SCHM is set. Then checks are performed to know if the scheme is "http" or "https" and the corresponding flag is set, HTX_SL_F_SCHM_HTTP or HTX_SL_F_SCHM_HTTPS. Other schemes, for instance ftp, are ignored.