Browse Source

try to fix HTTP ops not GC

tags/v1.2.0-rc1
Unknwon 9 years ago
parent
commit
ae32813af6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/http.go

+ 1
- 0
routers/repo/http.go 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)


Loading…
Cancel
Save