mirror of
https://github.com/SagerNet/sing-quic.git
synced 2025-04-04 12:27:38 +03:00
Update quic-go to v0.40.0
This commit is contained in:
parent
077075e9b6
commit
00957d1362
13 changed files with 24 additions and 31 deletions
|
@ -327,7 +327,7 @@ func (c *udpPacketConn) writePackets(messages []*udpMessage) error {
|
|||
func (c *udpPacketConn) writePacket(message *udpMessage) error {
|
||||
buffer := message.pack()
|
||||
defer buffer.Release()
|
||||
return c.quicConn.SendMessage(buffer.Bytes())
|
||||
return c.quicConn.SendDatagram(buffer.Bytes())
|
||||
}
|
||||
|
||||
func (c *udpPacketConn) Close() error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue