Forum Discussion
TMaCEvans_92750
Jan 17, 2011Nimbostratus
nesting switch within aif statement
I'm trying to nest a switch statement in a if statement but am getting a parse error
[parse error: PARSE syntax 302 syntax\ error\ in\ expression\ \"\ switch\ -glob\ \[string\ tolower\ \[HTTP::u...
Rajesh_D_5975
May 11, 2011Nimbostratus
Hi,
Does the above logic worked for WebSocket? I am also trying for something similar and i am getting as response pending from chrome browser.
The scenario i am trying is:
1. Chrome browser has the url to the application as ws and the request is sent to vip
2. vip is configured with https
3. vip has an irule that, if http header's Upgrade contains WebSocket, disable http and send the request to a different pool
4. the back end server pool supports websocket and will respond back.
Without load balancer in between the client and the server, i can get the requests / responses. However if i apply the above rule, i see the Response as pending from browser and the calls are made to the server and immediately the socket getting closed.
Could you please help.
Thanks.
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