mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 12:52:42 +02:00
http_is_default_port() can be used to test if a port is a default HTTP/HTTPS port. A scheme may be specified. In this case, it is used to detect defaults ports, 80 for "http://" and 443 for "https://". Otherwise, with no scheme, both are considered as default ports.