mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-10 21:46:38 +00:00
TUN-7398: Add support for quic safe stream to set deadline
This commit is contained in:
parent
50a0c44cee
commit
0be1ed5284
@ -52,3 +52,7 @@ func (s *SafeStreamCloser) CloseWrite() error {
|
||||
// We can still read from this stream.
|
||||
return s.stream.Close()
|
||||
}
|
||||
|
||||
func (s *SafeStreamCloser) SetDeadline(deadline time.Time) error {
|
||||
return s.stream.SetDeadline(deadline)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user