mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-18 04:26:44 +02:00
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.