Forum Discussion
youssef1
Apr 04, 2019Cumulonimbus
Hi dude,
I fix all missing brace... so now you will not have any errors:
when HTTP_REQUEST {
set capture 0
if { [HTTP::header exists Content-length] and [HTTP::method] equals "POST" } {
set capture 1
HTTP::collect [HTTP::header Content-Length]
}
}
when HTTP_REQUEST_DATA {
if {$capture} {
if { [HTTP::payload] contains "UE" } {
log local0. "Logs: triggered wanted pool"
pool WEBRTC_POOL
}
} else {
pool PUSH_POOL
}
}