Update quic-go to v0.40.0

This commit is contained in:
世界 2023-11-14 20:11:44 +08:00
parent 077075e9b6
commit 00957d1362
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
13 changed files with 24 additions and 31 deletions

View file

@ -331,7 +331,7 @@ func (c *udpPacketConn) writePackets(messages []*udpMessage) error {
func (c *udpPacketConn) writePacket(message *udpMessage) error {
if !c.udpStream {
buffer := message.pack()
err := c.quicConn.SendMessage(buffer.Bytes())
err := c.quicConn.SendDatagram(buffer.Bytes())
buffer.Release()
if err != nil {
return err