bump Go version in go.mod, stop testing on Go 1.21 (#4633)

* bump Go version in go.mod, stop testing on Go 1.21

* ci: update golangci-lint to v1.60.1

* ignore Go 1.23 0-RTT events in exhaustive linter
This commit is contained in:
Marten Seemann
2024-08-17 15:30:03 +08:00
committed by GitHub
parent b3811692d9
commit d067fe4156
10 changed files with 21 additions and 16 deletions

View File

@@ -229,6 +229,9 @@ func (h *cryptoSetup) handleMessage(data []byte, encLevel protocol.EncryptionLev
}
func (h *cryptoSetup) handleEvent(ev tls.QUICEvent) (done bool, err error) {
//nolint:exhaustive
// Go 1.23 added new 0-RTT events, see https://github.com/quic-go/quic-go/issues/4272.
// We will start using these events when dropping support for Go 1.22.
switch ev.Kind {
case tls.QUICNoEvent:
return true, nil