return;
ACLFilledChecklist ch(NULL, &request, NULL);
-#if FOLLOW_X_FORWARDED_FOR
- if (Config.onoff.acl_uses_indirect_client)
- ch.src_addr = request.indirect_client_addr;
- else
-#endif
- ch.src_addr = request.client_addr;
- ch.my_addr = request.my_addr;
ch.reply = HTTPMSGLOCK(this); // XXX: this lock makes method non-const
for (acl_size_t *l = Config.ReplyBodySize; l; l = l -> next) {
/* if there is no ACL list or if the ACLs listed match use this size value */
// TODO use the connection details in ACL.
// needs a bit of rework in ACLFilledChecklist to use Comm::Connection instead of ConnStateData
- if (request) {
-#if FOLLOW_X_FORWARDED_FOR
- if (Config.onoff.acl_uses_indirect_client)
- ch.src_addr = request->indirect_client_addr;
- else
-#endif
- ch.src_addr = request->client_addr;
- ch.my_addr = request->my_addr;
- }
-
acl_address *l;
for (l = Config.accessList.outgoing_address; l; l = l->next) {