forked from quic-go/quic-go
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user