This will be needed for debug traces, logging and outbound myport ACL.
TODO: do the same for the local address when requesting wildcard.
at present it still shows 0.0.0.0:port.
acl_checklist = clientAclChecklistCreate(Config.accessList.adapted_http, http);
acl_checklist->nonBlockingCheck(clientAccessCheckDoneWrapper, this);
} else {
- debugs(85, 2, HERE << "No adapted_http_access configuration.");
+ debugs(85, 2, HERE << "No adapted_http_access configuration. default: ALLOW");
clientAccessCheckDone(ACCESS_ALLOWED);
}
}
if (active->getPeer())
active->getPeer()->stats.conn_open++;
- /* TODO: remove this fd_table access. But old code still depends on fd_table flags to
+ /* TODO: remove these fd_table accesses. But old code still depends on fd_table flags to
* indicate the state of a raw fd object being passed around.
*/
fd_table[active->fd].flags.open = 1;
+ active->local.SetPort(comm_local_port(active->fd));
ipcacheMarkGoodAddr(host, active->remote);
callCallback(COMM_OK, 0);