[master] 940d545 Be consistent about jit on/off flag.

Poul-Henning Kamp phk at FreeBSD.org
Fri May 22 19:43:54 CEST 2015


commit 940d545689d0d8fbd9765b10d32f8aad75111416
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri May 22 17:07:57 2015 +0000

    Be consistent about jit on/off flag.

diff --git a/lib/libvarnish/vre.c b/lib/libvarnish/vre.c
index 0115bad..bbebef0 100644
--- a/lib/libvarnish/vre.c
+++ b/lib/libvarnish/vre.c
@@ -81,7 +81,7 @@ VRE_compile(const char *pattern, int options,
 		VRE_free(&v);
 		return (NULL);
 	}
-	v->re_extra = pcre_study(v->re, VRE_STUDY_JIT_COMPILE, errptr);
+	v->re_extra = pcre_study(v->re, vre__jit, errptr);
 	if (*errptr != NULL) {
 		VRE_free(&v);
 		return (NULL);



More information about the varnish-commit mailing list