[chore]: Bump golang.org/x/net from 0.29.0 to 0.30.0 (#3402)

This commit is contained in:
dependabot[bot] 2024-10-07 12:02:26 +00:00 committed by GitHub
commit 33bd97a535
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 679 additions and 252 deletions

View file

@ -131,6 +131,16 @@ func (se StreamError) writeFrame(ctx writeContext) error {
func (se StreamError) staysWithinBuffer(max int) bool { return frameHeaderLen+4 <= max }
type writePing struct {
data [8]byte
}
func (w writePing) writeFrame(ctx writeContext) error {
return ctx.Framer().WritePing(false, w.data)
}
func (w writePing) staysWithinBuffer(max int) bool { return frameHeaderLen+len(w.data) <= max }
type writePingAck struct{ pf *PingFrame }
func (w writePingAck) writeFrame(ctx writeContext) error {