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