http3: rename Settings.EnableDatagram to EnableDatagrams (#4466)

This makes it consistent with the quic.Config and the config flag on the
http3.Server and http3.RoundTripper.
This commit is contained in:
Marten Seemann
2024-04-26 22:35:21 +02:00
committed by GitHub
parent e1e5b6294d
commit 083ceb42f2
6 changed files with 8 additions and 8 deletions

View File

@@ -212,7 +212,7 @@ func (c *connection) HandleUnidirectionalStreams(hijack func(StreamType, quic.Co
return
}
c.settings = &Settings{
EnableDatagram: sf.Datagram,
EnableDatagrams: sf.Datagram,
EnableExtendedConnect: sf.ExtendedConnect,
Other: sf.Other,
}