47 debugs(66, 7,
"couldn't find mangler or access list. Allowing");
60 debugs(66, 7,
"checklist for mangler is positive. Mangle");
64 debugs(66, 7,
"checklist denied, we have no replacement. Pass");
72 debugs(66, 7,
"checklist denied but we have replacement. Replace");
103 int headers_deleted = 0;
106 l->
delAt(p, headers_deleted);
113 if (headersAdd && !headersAdd->empty()) {
146 memset(&
all, 0,
sizeof(
all));
189 if (strcmp(name,
"All") == 0)
197 if (strcmp(name,
"Other") == 0)
227 const ManglersByName::const_iterator i =
custom.find(tmp.
c_str());
249 for (HeaderWithAclList::const_iterator hwa = headersAdd.begin(); hwa != headersAdd.end(); ++hwa) {
251 const char *fieldValue =
nullptr;
256 hwa->valueFormat->assemble(mb, al, 0);
260 fieldValue = hwa->fieldValue.c_str();
263 if (!fieldValue || fieldValue[0] ==
'\0')
Acl::Answer const & fastCheck()
void updateAle(const AccessLogEntry::Pointer &)
void init(mb_size_t szInit, mb_size_t szMax)
char * content()
start of the added data
HeaderWithAclList * request_header_add
request_header_add access list
HeaderManglers * request_header_access
request_header_access and request_header_replace
HeaderManglers * reply_header_access
reply_header_access and reply_header_replace
HeaderWithAclList * reply_header_add
reply_header_add access list
#define debugs(SECTION, LEVEL, CONTENT)
void aclDestroyAccessList(acl_access **list)
void dump_acl_access(StoreEntry *entry, const char *name, acl_access *head)
bool any_HdrType_enum_value(const Http::HdrType id)
match any known header type, including OTHER and BAD
const HeaderLookupTable_t HeaderLookupTable
void storeAppendPrintf(StoreEntry *e, const char *fmt,...)