Skip to content

Commit

Permalink
Update dependencies & quic-go to v0.43.0 (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
xDragonZ committed May 4, 2024
1 parent 0b33830 commit a9b2157
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 95 deletions.
2 changes: 1 addition & 1 deletion adminlistener.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (s *AdminListener) startQUIC() error {
Addr: s.addr,
TLSConfig: s.opt.TLSConfig,
Handler: s.mux,
QuicConfig: &quic.Config{},
QUICConfig: &quic.Config{},
}
return s.quicServer.ListenAndServe()
}
Expand Down
2 changes: 1 addition & 1 deletion dohclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func dohQuicTransport(endpoint string, opt DoHClientOptions) (http.RoundTripper,

tr := &http3.RoundTripper{
TLSClientConfig: tlsConfig,
QuicConfig: &quic.Config{
QUICConfig: &quic.Config{
TokenStore: quic.NewLRUTokenStore(10, 10),
},
Dial: dialer,
Expand Down
2 changes: 1 addition & 1 deletion dohlistener.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (s *DoHListener) startQUIC() error {
Addr: s.addr,
TLSConfig: s.opt.TLSConfig,
Handler: s.handler,
QuicConfig: &quic.Config{},
QUICConfig: &quic.Config{},
}
return s.quicServer.ListenAndServe()
}
Expand Down
15 changes: 7 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ require (
github.com/jtacoma/uritemplates v1.0.0
github.com/miekg/dns v1.1.59
github.com/oschwald/maxminddb-golang v1.12.0
github.com/pion/dtls/v2 v2.2.10
github.com/pion/dtls/v2 v2.2.11
github.com/pkg/errors v0.9.1
github.com/quic-go/quic-go v0.42.0
github.com/quic-go/quic-go v0.43.0
github.com/redis/go-redis/v9 v9.5.1
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
github.com/txthinking/socks5 v0.0.0-20230325130024-4230056ae301
golang.org/x/net v0.24.0
)
Expand All @@ -25,16 +25,15 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/google/pprof v0.0.0-20240422182052-72c8669ad3e7 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/google/pprof v0.0.0-20240430035430-e4905b036c4e // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/onsi/ginkgo/v2 v2.17.1 // indirect
github.com/onsi/ginkgo/v2 v2.17.2 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/pion/logging v0.2.2 // indirect
github.com/pion/transport/v2 v2.2.4 // indirect
github.com/pion/udp v0.1.4 // indirect
github.com/pion/transport/v2 v2.2.5 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/quic-go/qpack v0.4.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
Expand Down
Loading

0 comments on commit a9b2157

Please sign in to comment.