aboutsummaryrefslogtreecommitdiff
path: root/packager
diff options
context:
space:
mode:
authortypeless <typeless@users.noreply.github.com>2016-12-24 08:50:12 +0800
committer无闻 <u@gogs.io>2016-12-23 19:50:12 -0500
commitcdedc2d188ad0e0a366c0cf9747011be2cbb2eff (patch)
treeecb9637823fc122f863891b66015b948798a83f7 /packager
parent42a3bbb0f426720ac4f95a5ca7832f008156cb82 (diff)
Use temporary file to avoid out-of-memory when receiving big chunks. (#3748)
* 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 leaks
Diffstat (limited to 'packager')
0 files changed, 0 insertions, 0 deletions