Richard__Harlan
Feb 10, 2006Historic F5 Account
Possable Rule crashing Unit
First off I opened a case with support. Just was hope one of the iRules export would see a problem with the rule. If seem every time we have user testing there site witch has these rule attach to it it causes the bigip to core. Attach are the rules. Thanks
gzip_stop {
when HTTP_REQUEST {
if { [HTTP::header exists "Accept-Encoding:"] } {
HTTP::header replace "Accept-Encoding:" deflate
log "header changed"
}
}
}
WindChill_HTTP_Links {
when HTTP_REQUEST {
set check_content 1
Don't allow data to be chunked.
if {[HTTP::version] == "1.1"} {
if {[HTTP::header is_keepalive]} {
Adjust the Connection header.
HTTP::header replace "Connection" "Keep-Alive"
}
HTTP::version "1.0"
}
}
when HTTP_RESPONSE {
if {$check_content == 1} {
set replace_now 1
log "replace now"
Calculate the amount to collect
set content_length 0
if {[HTTP::header exists "Content-Length"]} {
set content_length [HTTP::header "Content-Length"]
}
If the header is missing, use a sufficiently large number
if {$content_length == 0} {
set content_length 4294967295
}
HTTP::collect $content_length
log "collect"
}
}
when HTTP_RESPONSE_DATA {
log "Response"
set payload [HTTP::payload [HTTP::payload length]]
set windchilllinks "https://cfwctest3.deere.com"
Find HTTP Links and change to HTTPS links
if { [regsub -all -nocase {http://cfwctest3.deere.com} $payload $windchilllinks new_response] > 0 } {
Replace the content if there was any matches
HTTP::payload replace 0 [HTTP::payload length] $new_response
log "data changed"
}
}
}