summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@gmail.com>2010-11-04 01:35:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-04 23:53:51 (GMT)
commitf9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a (patch)
treef73b2dec3c487175d1084ee9aed1a7c6e3817230 /compat
parentcbefd2d6322bff0033fd50bfe175c52b79933571 (diff)
downloadgit-f9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a.zip
git-f9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a.tar.gz
git-f9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a.tar.bz2
daemon: get remote host address from root-process
Get remote host in the process that accept() and pass it through the REMOTE_ADDR environment variable to the handler-process. Introduce the REMOTE_PORT environmen variable for the port. Use these variables for reporting instead of doing getpeername(0, ...), which doesn't work on Windows. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions