Edgio / waflz

multitenant ModSecurity compatible WAF engine from Edgio
89 stars 26 forks source link

add option BUILD_CUSTOM_CAPLENMAX #304

Closed at1984z closed 2 years ago

at1984z commented 2 years ago

Proposed option BUILD_CUSTOM_CAPLENMAX is an unsigned integer that allows to modify the maximum value of inspected buffer, e.g. matched variable, as encoded in macro CAP_LEN() in src/core/waf.cc.

The current hardcoded maximum is 1024.

This PR keeps 1024 as the default option value.