mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-09 09:30:46 -04:00
The first flag, HTX_SL_F_HAS_AUTHORITY, is set when the uri contains an authority. For the H1, it happens when a CONNECT request is received or when an absolute uri is used. For the H2, it happens when the pseudo header ":authority" is provided. The second one, HTX_SL_F_NORMALIZED_URI, is set when the received uri is represented as an absolute uri because of the protocol requirements. For now, it is only used for h2 requests, when the pseudo headers :authority and :scheme are found. Internally, the uri is represented as an absolute uri. This flag allows us to make the difference between an absolute uri in h1 and h2. |
||
|---|---|---|
| .. | ||
| common | ||
| import | ||
| proto | ||
| types | ||