mirror of https://github.com/gogits/gogs.git
Browse Source
* Use temporary file to avoid out-of-memory when receiving big chunk. Not perfect but I think it's a reasonable solution. For small request bodies, I suppose performance wouldn't be an issue. For large ones, this seems to be a necessary evil. * Must close the open file to avoid fd leakspull/3981/head
typeless
8 years ago
committed by
无闻
1 changed files with 12 additions and 3 deletions
Loading…
Reference in new issue