Skip to content

Commit

Permalink
http_proxy: support listening on optional addresses
Browse files Browse the repository at this point in the history
Fixes #629
  • Loading branch information
Choraden committed Jan 19, 2024
1 parent b70b1ff commit cb017b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ func (hp *HTTPProxy) listen() (net.Listener, error) {

l := Listener{
Address: hp.config.Addr,
OptionalAddresses: hp.config.OptionalAddrs,
Log: hp.log,
TLSConfig: hp.tlsConfig,
TLSHandshakeTimeout: hp.config.TLSServerConfig.HandshakeTimeout,
Expand Down

0 comments on commit cb017b1

Please sign in to comment.