mirror of
https://github.com/SagerNet/sing-quic.git
synced 2025-04-06 05:17:39 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue