diff options
author | Erik Faye-Lund <kusmabite@gmail.com> | 2010-11-04 02:35:19 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-04 16:53:51 -0700 |
commit | f9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a (patch) | |
tree | f73b2dec3c487175d1084ee9aed1a7c6e3817230 /archive.c | |
parent | cbefd2d6322bff0033fd50bfe175c52b79933571 (diff) | |
download | git-f9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a.tar.gz |
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 'archive.c')
0 files changed, 0 insertions, 0 deletions