diff --git a/h2quic/response_writer.go b/h2quic/response_writer.go index 7e9b7f960..0b5e930a4 100644 --- a/h2quic/response_writer.go +++ b/h2quic/response_writer.go @@ -74,3 +74,8 @@ func (w *responseWriter) Write(p []byte) (int, error) { } return w.dataStream.Write(p) } + +func (w *responseWriter) Flush() {} + +// test that we implement http.Flusher +var _ http.Flusher = &responseWriter{}