commit | 75348c2e8b7779d1b00d849ecb5b8324033210f7 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Nov 22 10:27:54 2022 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Nov 22 16:27:52 2022 +0100 |
tree | f5fc0d135200791bb835f377d8e1b098f81f3352 | |
parent | e3177af465e6e44961efa23f58775db700d8911a [diff] |
MINOR: h1: Consider empty port as invalid in authority for CONNECT For now, this change is useless because http_get_host_port() returns IST_NULL when the port is empty. But this will change. For other methods, empty ports are valid. But not for CONNECT method. To still return a 400-Bad-Request if a CONNECT is performed with an empty port, istlen() is used to test the port, instead of isttest().