gitea: Markdown files cannot be edited

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (10 by maintainers)

Commits related to this issue

Most upvoted comments

This is a really weird one. It seems it’s not about the length of the file, but some other condition. I could also produce this with giteas CHANGELOG.md… I suspect this is because we have Transfer-Encoding: chunked for HTTP, and somehow somewhere the chunk length is miscalculated, sending non-zero when the response is actually finished…?

edit: I bisected, 270aab429ef025df9a0b9bf9e3982729ae8df449 is the bad commit (from PR #15667) @zeripath any ideas?