commit | 3b44c54129a4f8334834dda6344c512e76e883fa | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 14 10:46:51 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 14 11:13:32 2019 +0200 |
tree | 71f8ac69f65e780b14352dfd961dbf090f3583c2 | |
parent | 42993a86c9ee1cd6e921395dd446617d79b64a18 [diff] |
MINOR: mux-h2: Forward clients scheme to servers checking start-line flags By default, the scheme "https" is always used. But when an explicit scheme was defined and when this scheme is "http", we use it in the request sent to the server. This is done by checking flags of the start-line. If the flag HTX_SL_F_HAS_SCHM is set, it means an explicit scheme was defined on the client side. And if the flag HTX_SL_F_SCHM_HTTP is set, it means the scheme "http" was used.