commit | 69294b20ac03497e33c99464a0050951bdfff737 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Tue Jul 06 11:02:22 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Jul 08 17:11:17 2021 +0200 |
tree | 9cd936e0a3882d38119a6208e224d2975d993a59 | |
parent | 8ac8cbfd7219b5c8060ba6d7b5c76f0ec539e978 [diff] |
MINOR: http: use http uri parser for authority Replace http_get_authority by the http_uri_parser API. The new function is renamed http_parse_authority. Replace duplicated scheme parsing code by http_parse_scheme invocation. A new http_uri_parser state is declared to mark the authority parsing as done.