RPRX 4 years ago committed by GitHub
parent fcc9d97074
commit 819717d278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,7 +51,7 @@ func (fw flushWriter) Write(p []byte) (n int, err error) {
}
n, err = fw.w.Write(p)
if f, ok := fw.w.(http.Flusher); ok {
if f, ok := fw.w.(http.Flusher); ok && err == nil {
f.Flush()
}
return

Loading…
Cancel
Save