commit | 658f971621839f3b928da099dfe3092b47cbc958 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Jul 05 09:48:39 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jul 06 17:54:03 2022 +0200 |
tree | e1b8a5d89d32f677ffeeff9a8908d0ff40f23af5 | |
parent | 0eab050b040d4240d78e0c1eb4db937bcddc834f [diff] |
MINOR: http: Add function to get port part of a host http_get_host_port() function can be used to get the port part of a host. It will be used to get the port of an uri authority or a host header value. This function only look for a port starting from the end of the host. It is the caller responsibility to call it with a valid host value. An indirect string is returned.