mirror of
https://github.com/lxsang/ant-http
synced 2025-07-13 13:04:23 +02:00
add more verbose to log
This commit is contained in:
2
httpd.c
2
httpd.c
@ -201,7 +201,7 @@ static void* antd_monitor(port_config_t* pcnf)
|
||||
if (client_name.sin_family == AF_INET)
|
||||
{
|
||||
client_ip = inet_ntoa(client_name.sin_addr);
|
||||
LOG("Connect to client IP: %s on port:%d", client_ip, pcnf->port);
|
||||
LOG("Connect to client IP: %s on port:%d (%d)", client_ip, pcnf->port, client_sock);
|
||||
// ip address
|
||||
dput(xheader, "REMOTE_ADDR", (void *)strdup(client_ip));
|
||||
//LOG("socket: %d\n", client_sock);
|
||||
|
Reference in New Issue
Block a user