Forum Discussion
AaronMLong_1021
Cirrus
Nov 05, 2015HTTP/HTTPS discrepancy for HTTP::respond iRule
Here's the relevant chunk of my iRule code: when HTTP_REQUEST {
switch -glob [HTTP::host] {
"host.example.test" { HTTP::respond 503 content "Services are offline for main...
sfuerst_116779
Nov 05, 2015Historic F5 Account
Are you doing anything else afterwards in that iRule (or another triggered by the same event) that uses HTTP iRule commands? If so, those operations will fail, and cause the connection to be dropped. (After calling HTTP::respond, the HTTP context is gone.)
You may want to look in /var/log/ltm for error messages.
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