TUN-7398: Add support for quic safe stream to set deadline

This commit is contained in:
João Oliveirinha 2023-04-27 19:49:56 +01:00
parent 50a0c44cee
commit 0be1ed5284
1 changed files with 4 additions and 0 deletions

View File

@ -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)
}