Forum Discussion
omar_padilla
Sep 02, 2021Altocumulus
load balancing based on hattp clien data
Hello experts, I have a question, is there a way to balance a traffic based on the payload of an http request? For example, inside an http message (not headers) there are some html tags that must be ...
Hello Omar.
It's not the most efficient way to do it, but technically it's possible.
HTTP_REQUEST_DATA occurs before the loadbalancing decision (LB_SELECTED).
REF - https://clouddocs.f5.com/training/community/irules/html/class1/module1/iRuleEventsFlowHTTPS.html
You should use the HTTP::payload method to collect the payload in the HTTP_REQUEST event and then apply your logic inside the HTTP_REQUEST_DATA event.
REF - https://clouddocs.f5.com/api/irules/HTTP__payload.html
Regards,
Dario.
omar_padilla
Sep 02, 2021Altocumulus
thank you man!
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