Forum Discussion
Keep the existing connections to the same Tomcat server
I think the interesting part lies within: - "but when HTTP Redirect happens in the client , the F5 will treat it as new connection?"
Answer is no. Normally, a teardown of the existing TCP connection does not occur upon a HTTP redirect EXCEPT when the redirect response has a "Connection: Close" header. Assuming it's an App that uses modern version of HTTP (HTTP/1.1 or Speedy), then multiple HTTP redirects can occur on top of the same TCP session.
What to do?
- Verify if the
header is included in a HTTP redirect response which specifies theConnection: Close
header (use Chrome or FF DevTools)Location: https://the.sameapp.com/new-path
In sunny days, the session sticky rule works fine, even for redirect. but when a web server is forced to "MA" status(a jsp file monitored by Health monitor), the connection was dropped when redirect request happen.
is it possible to make a tomcat server to offline automatically and no impact to the existing connections with session sticky configured?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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