Compare commits

..

1 Commits

Author SHA1 Message Date
Asbjørn Ulsberg
2b9248ac3a
Merge ce6939ce4090aa41861cd93daccce4b68f891b25 into d1a15347b1e45a8ee816193d3578a93bfd73b70f 2025-12-13 10:39:17 +08:00
2 changed files with 2 additions and 4 deletions

View File

@ -65,7 +65,7 @@ jobs:
with:
ref: ${{ github.ref }}
- uses: actions/cache@v5
- uses: actions/cache@v4
with:
path: |
${{ matrix.go-build }}

View File

@ -128,9 +128,7 @@ func (w *responseWriter) CloseNotify() <-chan bool {
// Flush implements the http.Flusher interface.
func (w *responseWriter) Flush() {
w.WriteHeaderNow()
if f, ok := w.ResponseWriter.(http.Flusher); ok {
f.Flush()
}
w.ResponseWriter.(http.Flusher).Flush()
}
func (w *responseWriter) Pusher() (pusher http.Pusher) {