mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 05:42:47 +08:00
1428877c37
Partially fix #21213. This PR will get client IP address from SSH_CONNECTION env which should be the first field of that. And deliver it to the internal API so Gitea routers could record the real IP from SSH requests. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net> |
||
---|---|---|
.. | ||
default_branch.go | ||
hook_post_receive.go | ||
hook_pre_receive.go | ||
hook_proc_receive.go | ||
hook_verification.go | ||
internal_repo.go | ||
internal.go | ||
key.go | ||
mail.go | ||
manager_process.go | ||
manager_unix.go | ||
manager_windows.go | ||
manager.go | ||
restore_repo.go | ||
serv.go | ||
ssh_log.go |