Forum Discussion
KimiLi_147173
Nimbostratus
Jan 09, 2017How to make a http switching iRule that can deal with websocket requests?
Hi all,
We use a http switching iRule which is associated with a http profile on LTM 11.2.0, to transfer traffic to different pools according to URL of the requests, in order to save IP addresses, ...
Faruk_AYDIN
Altostratus
Jan 09, 2017http profile does not understand websocket protocol. After websocket handshake, you must disable http: Add the following code the bottom of your irule :
if { [string tolower [HTTP::header Upgrade]] contains "websocket" }{
HTTP::disable
}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
