We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 328eeba commit be7a9b9Copy full SHA for be7a9b9
middleware/compress.go
@@ -227,6 +227,7 @@ func (h *httpGenericWrapper) CloseNotify() <-chan bool {
227
func (h *httpGenericWrapper) Flush() {
228
if f, ok := h.genericWrapper.inner.(http.Flusher); ok {
229
f.Flush()
230
+ return
231
}
232
233
h.genericWrapper.inner.Unwrap().(http.Flusher).Flush()
middleware/compress_18.go
@@ -39,6 +39,7 @@ func (h *http2GenericWrapper) CloseNotify() <-chan bool {
39
func (h *http2GenericWrapper) Flush() {
40
41
42
43
44
45
0 commit comments