commit | a9a5c04c23cc6aed143ac9d0aa9f1709718a3462 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 14 10:25:47 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 14 11:13:32 2019 +0200 |
tree | 6ece5d0613a2360e844db837c3d8609a0be30ccb | |
parent | e21c01637a0ded1244774efa5b8bcdf39d221eec [diff] |
MINOR: h2: Set flags about the request's scheme on the start-line The flag HTX_SL_F_HAS_SCHM is always set because H2 requests have always an explicit scheme. Then, the pseudo-header ":scheme" is tested. If it is set to "http", the flag HTX_SL_F_SCHM_HTTP is set. Otherwise, for all other cases, the flag HTX_SL_F_SCHM_HTTPS is set. For now, it seems reasonable to have a fallback on the scheme "https".