diff options
author | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2022-09-15 16:03:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 08:03:24 -0600 |
commit | a1ad20e4720391d847c58fcdcef7c8d9c287faf2 (patch) | |
tree | 25c0081ddb7e978ca9bb71b245eeb1cdcfaefda2 /modules/caddyhttp/responsematchers.go | |
parent | 62b0685375cc4dc2c670afd07d1319affa179544 (diff) |
httpcaddyfile: Fix bind when IPv6 is specified with network (#4950)
* fix listening on IPv6 addresses: use net.JoinHostPort
Commit 1e18afb5c862d62be130d563785de5c58f08ae8e broke my caddy setup.
This commit fixes it.
* Refactor solution; simplify, add descriptive comment
* Move network to host, not copy
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'modules/caddyhttp/responsematchers.go')
0 files changed, 0 insertions, 0 deletions