mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-17 17:10:43 +08:00
TUN-7398: Add support for quic safe stream to set deadline
This commit is contained in:
@@ -52,3 +52,7 @@ func (s *SafeStreamCloser) CloseWrite() error {
|
|||||||
// We can still read from this stream.
|
// We can still read from this stream.
|
||||||
return s.stream.Close()
|
return s.stream.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *SafeStreamCloser) SetDeadline(deadline time.Time) error {
|
||||||
|
return s.stream.SetDeadline(deadline)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user