Skip to content

Commit

Permalink
TUN-7398: Add support for quic safe stream to set deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
joliveirinha committed Apr 27, 2023
1 parent 50a0c44 commit 0be1ed5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quic/safe_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 0be1ed5

Please sign in to comment.