mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
try to fix HTTP ops not GC
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user