mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-06 14:47:35 +03:00
Upgrade quic-go to v0.36.1
quic-go has made breaking changes since v0.35.0, includes implementing `CloseIdleConnections`. Now, the local listener UDPConn are reused, and don't pile up. But, 1 instance (IPv4/IPv6) persists for each connected server.
This commit is contained in:
parent
16b2c84147
commit
89ccc59f0e
112 changed files with 5632 additions and 2620 deletions
4
vendor/github.com/quic-go/quic-go/receive_stream.go
generated
vendored
4
vendor/github.com/quic-go/quic-go/receive_stream.go
generated
vendored
|
@ -179,6 +179,10 @@ func (s *receiveStream) readImpl(p []byte) (bool /*stream completed */, int, err
|
|||
|
||||
if s.readPosInFrame >= len(s.currentFrame) && s.currentFrameIsLast {
|
||||
s.finRead = true
|
||||
s.currentFrame = nil
|
||||
if s.currentFrameDone != nil {
|
||||
s.currentFrameDone()
|
||||
}
|
||||
return true, bytesRead, io.EOF
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue