Forum Discussion
Darren_21048
Nimbostratus
Jun 15, 2011Regex in STREAM::expression
I am looking to implement a regex within STREAM::expression to find the User Comments section on our web pages which we mark with a specific begin and end comment in the HTML. I am using the followin...
What_Lies_Bene1
Cirrostratus
Jul 14, 2015FYI, I hit this issue recently. I'm not sure I fully understand what a partial match is but regardless, I doubled the value of the buffer, within the HTTP_RESPONSE event:
when HTTP_RESPONSE {
STREAM::max_matchsize 8192
STREAM::enable
...
}
Note, the actual response payload that was giving me issues was around 64kB. Considering the issue was intermittent, it's possible the buffer relates to all traffic handled by the Virtual Server, not each connection.
Using the STREAM::max_matchsize command in the STREAM_MATCHED event (as I'd seen suggested elsewhere) doesn't work.
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