File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
internal/ingress/controller Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ go 1.25.1
44
55require (
66 dario.cat/mergo v1.0.2
7- github.com/armon/go-proxyproto v0.1.0
87 github.com/eapache/channels v1.1.0
98 github.com/fsnotify/fsnotify v1.9.0
109 github.com/google/go-github/v48 v48.2.0
@@ -18,6 +17,7 @@ require (
1817 github.com/ncabatoff/process-exporter v0.8.7
1918 github.com/onsi/ginkgo/v2 v2.25.3
2019 github.com/opencontainers/cgroups v0.0.4
20+ github.com/pires/go-proxyproto v0.8.1
2121 github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
2222 github.com/prometheus/client_golang v1.23.1
2323 github.com/prometheus/client_model v0.6.2
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg
1010github.com/BurntSushi/toml v1.5.0 /go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho =
1111github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0 =
1212github.com/Masterminds/semver/v3 v3.4.0 /go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM =
13- github.com/armon/go-proxyproto v0.1.0 h1:TWWcSsjco7o2itn6r25/5AqKBiWmsiuzsUDLT/MTl7k =
14- github.com/armon/go-proxyproto v0.1.0 /go.mod h1:Xj90dce2VKbHzRAeiVQAMBtj4M5oidoXJ8lmgyW21mw =
1513github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM =
1614github.com/beorn7/perks v1.0.1 /go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw =
1715github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM =
@@ -198,6 +196,8 @@ github.com/opencontainers/cgroups v0.0.4 h1:XVj8P/IHVms/j+7eh8ggdkTLAxjz84ZzuFyG
198196github.com/opencontainers/cgroups v0.0.4 /go.mod h1:s8lktyhlGUqM7OSRL5P7eAW6Wb+kWPNvt4qvVfzA5vs =
199197github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI =
200198github.com/peterbourgon/diskv v2.0.1+incompatible /go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU =
199+ github.com/pires/go-proxyproto v0.8.1 h1:9KEixbdJfhrbtjpz/ZwCdWDD2Xem0NZ38qMYaASJgp0 =
200+ github.com/pires/go-proxyproto v0.8.1 /go.mod h1:ZKAAyp3cgy5Y5Mo4n9AlScrkCZwUy0g3Jf+slqQVcuU =
201201github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4 =
202202github.com/pkg/errors v0.9.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
203203github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ import (
3737 "time"
3838 "unicode"
3939
40- proxyproto "github.com/armon/go-proxyproto"
4140 "github.com/eapache/channels"
41+ proxyproto "github.com/pires/go-proxyproto"
4242 apiv1 "k8s.io/api/core/v1"
4343 "k8s.io/apimachinery/pkg/util/intstr"
4444 "k8s.io/client-go/kubernetes/scheme"
@@ -832,7 +832,7 @@ func (n *NGINXController) setupSSLProxy() {
832832 klog .Fatalf ("%v" , err )
833833 }
834834
835- proxyList := & proxyproto.Listener {Listener : listener , ProxyHeaderTimeout : cfg .ProxyProtocolHeaderTimeout }
835+ proxyList := & proxyproto.Listener {Listener : listener , ReadHeaderTimeout : cfg .ProxyProtocolHeaderTimeout }
836836
837837 // accept TCP connections on the configured HTTPS port
838838 go func () {
You can’t perform that action at this time.
0 commit comments