fix feature not supported errors

This commit is contained in:
yusing 2025-02-14 05:32:19 +08:00
parent 5dd2ea776a
commit 816166a30a

View file

@ -207,6 +207,7 @@ func CopyClose(dst *ContextWriter, src *ContextReader) (err error) {
if err != nil { if err != nil {
if errors.Is(err, http.ErrNotSupported) { if errors.Is(err, http.ErrNotSupported) {
canFlush = false canFlush = false
err = nil
} else { } else {
return err return err
} }