Forum Discussion
Stewart_Mann_11
Sep 01, 2005Historic F5 Account
Accumulate function
Hi
I have a v4.5 iRule using 'accumulate' that needs
to be upgraded to v9.1.
this is the rule:
}
else if (http_content_collected < 20) {
...
unRuleY_95363
Sep 02, 2005Historic F5 Account
Oh, sorry, I just realized your example was for referencing http content. The same rules apply, just use the "HTTP::" equivalent commands: HTTP::collect and HTTP::payload and the HTTP_REQUEST_DATA event.
when HTTP_REQUEST {
HTTP::collect
}
when HTTP_REQUEST_DATA {
if { [HTTP::payload length] < 20 } {
HTTP::collect
} else {
...
}
}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