(err error)
| 252 | } |
| 253 | |
| 254 | func IsUnrecoverableError(err error) bool { |
| 255 | if errors.Is(err, context.Canceled) { |
| 256 | return true |
| 257 | } |
| 258 | |
| 259 | return IsConnError(err) |
| 260 | } |
| 261 | |
| 262 | func flush(w http.ResponseWriter) (err error) { |
| 263 | flusher, ok := w.(http.Flusher) |
no test coverage detected