mirror of
https://github.com/go-gitea/gitea
synced 2025-07-12 13:37:20 +00:00
Backport #34838 by wxiaoguang Fix #34834 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@ -132,6 +132,7 @@ func newInternalRequestLFS(ctx context.Context, internalURL, method string, head
|
||||
return nil
|
||||
}
|
||||
req := private.NewInternalRequest(ctx, internalURL, method)
|
||||
req.SetReadWriteTimeout(0)
|
||||
for k, v := range headers {
|
||||
req.Header(k, v)
|
||||
}
|
||||
|
Reference in New Issue
Block a user