I want to use the F5 to disable HTTP/1.1 requests. I’m not sure if this is even possible, though.
Hi,
You can disable HTTP 1.1 on the serverside using a simple iRule:
From http://devcentral.f5.com/wiki/default.aspx/iRules/CreditCardScrubber.html
when HTTP_REQUEST {
Don't allow response data to be chunked
if { [HTTP::version] eq "1.1" } {
Force downgrade to HTTP 1.0, but still allow keep-alive connections.
Since HTTP 1.1 is keep-alive by default, and 1.0 isn't,
we need make sure the headers reflect the keep-alive status.
Check if this is a keep alive connection
if { [HTTP::header is_keepalive] } {
Replace the connection header value with "Keep-Alive"
HTTP::header replace "Connection" "Keep-Alive"
}
Set server side request version to 1.0
HTTP::version "1.0"
}
}
Aaron
Wow, thank you for responding so fast!
I tried out that iRule, but it messes up the display of the page (missing images, style, etc). My guess would be that this is because the client sends a bunch of pipelined requests, but never gets a response back from the server due to the headers having been edited.
Are you trying to prevent pipelined requests or possibly keep-alive requests from the client to the VIP? If so, I think you can configure each on the HTTP profile using the Pipelining and ‘Maximum Requests’ options.
If this isn’t what you’re aiming for, can you clarify what you’re trying to do and why?
Thanks,
Aaron
Wow, I didn’t even realize that pipelining option was there! Thank you!