ChrisThuys
Oct 24, 2016Altocumulus
Enable Passthrough for file downloads
I have an issue where I am loadbalancing a document management system which works fine until I try to download files from the website of a particular type. The files fail to download because they the file size is larger than the reported content length. I have tried to use HTTP::disable to enable passthrough and prevent the F5 from enforcing the content length. When I do this the browser pops up with a logon window. Is there a way to prevent this from happening?
when HTTP_REQUEST priority 100 {
Selectively disable HTTP parser for specific URIs
switch -glob [string tolower [HTTP::uri]] {
/action=download {
HTTP::disable
log local0. "Disabling http profile" Disable HTTP_REQUEST event for this connection
so that other iRules cannot not call HTTP parser event disable
}
} }