diff --git a/quic/safe_stream.go b/quic/safe_stream.go index c151ff2ec7f..e19faa5ca77 100644 --- a/quic/safe_stream.go +++ b/quic/safe_stream.go @@ -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) +}