Commit cf2d2d38 by Nils Goroll

use vre_limits bandaid

see varnish-cache aa8875a44d587bc5530554963f93fffba99efadd
parent a92cfd11
......@@ -376,4 +376,3 @@ COPYRIGHT
project. See LICENSE for details.
Author: Geoffrey Simmons <geoffrey.simmons@uplex.de>
......@@ -33,7 +33,6 @@
#include <string.h>
#include "cache/cache.h"
#include "common/common_param.h"
#include "vcl.h"
#include "vre.h"
#include "vas.h"
......@@ -162,7 +161,7 @@ match(VRT_CTX, vre_t *vre, VCL_STRING subject, struct vmod_priv *task)
len = strlen(subject);
s = VRE_exec(vre, subject, len, 0, 0, nov, MAX_OV,
&cache_param->vre_limits);
&vparam_vre_limits);
if (s <= VRE_ERROR_NOMATCH) {
if (s < VRE_ERROR_NOMATCH)
VSLb(ctx->vsl, SLT_VCL_Error,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment