make h2quic.responseWriter implement http.Flusher as NOP

fixes #330
This commit is contained in:
Lucas Clemente
2016-10-14 11:35:10 +02:00
parent 81c8430adb
commit ef977ee059

View File

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