diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-01-19 11:51:17 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-01-19 11:51:17 -0700 |
commit | aad9f90cad23d709075073fd59214a51249de386 (patch) | |
tree | e0283a010e379fd84e2f0af425ebc79afec637db /modules/caddyhttp/starlarkmw/tools/gen | |
parent | 07ef4b0c7db356bfc1d334187c0920f85aa416f3 (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/caddyhttp/starlarkmw/tools/gen')
0 files changed, 0 insertions, 0 deletions