summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-01-19 11:51:17 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-01-19 11:51:17 -0700
commitaad9f90cad23d709075073fd59214a51249de386 (patch)
treee0283a010e379fd84e2f0af425ebc79afec637db /modules
parent07ef4b0c7db356bfc1d334187c0920f85aa416f3 (diff)
httpcaddyfile: Fix address parsing; don't infer port at parse-time
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.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions