Forum Discussion
Michael_Jenkins
Cirrostratus
Apr 09, 2014What is the TCP connection lifetime?
I've just come across the REWRITE::disable command and had a use for it with some of our stuff, and as I looked at the documentation page (here), I noticed that it says that the REWRITE will be disab...
IheartF5_45022
Nacreous
Apr 10, 2014I'm not going into a full description, but a TCP connection may contain multiple HTTP request/responses, so if you are worried about turning it off for one request might affect others, you should be. The following code would help;-
when HTTP_RESPONSE {
if {[HTTP::path] eq "/jangins} {
REWRITE::disable
} else {
REWRITE::enable
}
}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