Forum Discussion
unRuleY_95363
Sep 01, 2005Historic F5 Account
Also, I really don't think you should need to do the "event disable all" since this connection should really be closing. If for some reason, the connection is not being closed, no rule events will be triggered. Instead of doing an "event disable all", maybe you should do something like set a variable that says you are done. Something like this:
when CLIENT_ACCEPTED {
set http_closed 0
}
when HTTP_REQUEST {
if { $http_closed } {
log "Hey, this connection should be closed!"
reject
}
...
if { ... } {
HTTP::redirect http://www.foo.bar.com/newuri
set http_closed 1
}
}