caddy-dns / cloudflare

Caddy module: dns.providers.cloudflare
Apache License 2.0
436 stars 59 forks source link

Build failed with golang 1.21 #65

Closed Times-Z closed 1 year ago

Times-Z commented 1 year ago

Builded with golang 1.21, the build crash :

191.0 /go/pkg/mod/github.com/quic-go/quic-go@v0.37.3/internal/handshake/crypto_setup.go:362:37: cannot use h.allow0RTT (variable of type bool) as tls.QUICSessionTicketOptions value in argument to h.conn.SendSessionTicket

I think we need quic-go 0.37.4 no ? https://github.com/quic-go/quic-go/issues/4021

mholt commented 1 year ago

:thinking: Fixed! Thanks