mirror of
https://github.com/caddyserver/caddy.git
synced 2025-11-01 11:07:23 -04:00
Before, listener ports could be wrong because ParseAddress doesn't know about the user-configured HTTP/HTTPS ports, instead hard-coding port 80 or 443, which could be wrong if the user changed them to something else. Now we defer port and scheme validation/inference to a later part of building the output JSON.