mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-07 19:51:19 +08:00

Fixes #29101 Related #29298 Discard all read data to prevent misinterpreting existing data. Some discard calls were missing in error cases. --------- Co-authored-by: yp05327 <576951401@qq.com>