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 /compat/inet_ntop.c | |
parent | Improve the mingw getaddrinfo stub to handle more use cases (diff) | |
download | tgif-f9c87be6b42dd0f8b31a4bb8c6a44326879fdd1a.tar.xz |
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/inet_ntop.c')
0 files changed, 0 insertions, 0 deletions