summaryrefslogtreecommitdiffstats
path: root/modules/gzip
Commit message (Collapse)AuthorAgeFilesLines
* Move modules/gzip to gitea.com/macaron/gzip (#9058)Lunny Xiao2019-11-182-489/+0
| | | | | | * Move modules/gzip to gitea.com/macaron/gzip * Fix vendor
* Ensure Written is set in GZIP ProxyResponseWriter (#9018)zeripath2019-11-151-10/+43
| | | | | | | | Fix #9001 The GZIP ProxyReponseWriter doesn't currently respond correctly to requests about its Written status - leading to #9001. This PR properly reimplements these methods.
* Use gitea forked macaron (#7933)Tamal Saha2019-08-232-2/+2
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* Add golangci (#6418)kolaente2019-06-121-4/+2
|
* Pooled and buffered gzip implementation (#5722)zeripath2019-01-232-0/+458
* Pooled and buffered gzip implementation * Add test for gzip * Add integration test * Ensure lfs check within transaction The previous code made it possible for a race condition to occur whereby a LFSMetaObject could be checked into the database twice. We should check if the LFSMetaObject is within the database and insert it if not in one transaction. * Try to avoid primary key problem in postgres The integration tests are being affected by https://github.com/go-testfixtures/testfixtures/issues/39 if we set the primary key high enough, keep a count of this and remove at the end of each test we shouldn't be affected by this.