Forum Discussion
Eric_Robeson_27
Nimbostratus
May 09, 2006Logging large headers
Hi,
I'm seeing errors like the following in my logs, and I would like to track down the headers that are triggering them. I don't know what the name of the header is that is triggering these erro...
Deb_Allen_18
May 09, 2006Historic F5 Account
Assuming the request is passing unmodified through the rule despite the error, this should work:
when HTTP_RESPONSE {
set headers [HTTP::header names]
foreach header_name $headers {
if { [string length [HTTP::header $header_name]] > 32768 }{
log local0. "HTTP header [HTTP::header $header_name] ([string length [HTTP::header $header_name]]) exceeded maximum allowed size of 32768"
}
}
}Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
