Forum Discussion
keith_varga_107
Nimbostratus
Jul 30, 2013F5 irule points to websockets server, but no response back
Currently, we run 32bit 10.2.3 F5.
We are trying to use websockets via an irule.
For example, the user comes in via the https F5 virtual server, and is directed via an irule to the websoc...
smedakkar_85975
Nimbostratus
Sep 30, 2013Thank you Kevin. I took your code and modified it slightly. I've come up with a solution that works quite well. Here's my iRule. I'd be interested in getting your opinion.
Thank you again.
when CLIENT_ACCEPTED {
HTTP::enable
}
when HTTP_REQUEST {
if { ([HTTP::uri] starts_with "/the-websocket-uri") } {
HTTP::disable
} elseif { [class match [HTTP::uri] starts_with UnrestrictedUris] } {
Do nothing by design - leaving the HTTP profile enabled
} else {
Drop the request
drop
}
}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