chore: update to go1.21rc2, drop support for go1.19

This commit is contained in:
wwqgtxx
2023-07-02 09:59:18 +08:00
parent c6b84b0f20
commit 8f1475d5d0
18 changed files with 47 additions and 118 deletions

View File

@ -135,7 +135,7 @@ func (c *Client) handleControlStream(qs quic.Connection, stream quic.Stream) (bo
func (c *Client) handleMessage(qs quic.Connection) {
for {
msg, err := qs.ReceiveMessage()
msg, err := qs.ReceiveMessage(context.Background())
if err != nil {
break
}