Conor_Cunningha
Oct 22, 2008Nimbostratus
HTTP::retry
G'day,
I have the following code;
when HTTP_REQUEST {
if { [HTTP::method] == "POST" } {
log local0.alert "We have a POST"
set post 1
set request [HTTP::request]
if { [HTTP::header exists "Content-Length"] } {
HTTP::collect [HTTP::header "Content-Length"]
} else { HTTP::collect 10000 }
} else {
log local0.alert "DO WE EVER GET HERE"
event disable all
}
}
when HTTP_REQUEST_DATA {
do stuff
HTTP::release
}
I was wondering whether the HTTP::release in HTTP_REQUEST_DATA releases the memory used for the set request [HTTP::request]
Otherwise I think I'm effectively going to run out of memory very quickly as I only have a small Big IP 1500 with little memory.
If it doesn't free the memory, is there a way of freeing the memory used by HTTP::request ?
Cheers,
Conor