Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 12:46:09 +01:00

try to fix HTTP ops not GC

This commit is contained in:
Unknwon 2015-08-17 22:32:43 +08:00
parent 862477e3a1
commit d17f102339

View file

@ -292,6 +292,7 @@ func serviceReceivePack(hr handler) {
func serviceRpc(rpc string, hr handler) {
w, r, dir := hr.w, hr.r, hr.Dir
defer r.Body.Close()
if !hasAccess(r, hr.Config, dir, rpc, true) {
renderNoAccess(w)