Using pcre_jit

Valentin V. Bartenev vbart at nginx.com
Tue Feb 16 16:44:33 UTC 2016


On Tuesday 16 February 2016 11:29:32 Alt wrote:
> Hello,
> 
> To use pcre_jit ( http://nginx.org/r/pcre_jit ), is it mandatory to compile
> nginx with "--with-pcre-jit"?
> On FreeBSD, nginx isn't compiled with "--with-pcre-jit", but I can still use
> "pcre_jit on;" without nginx throwing errors. So, does nginx really use PCRE
> JIT in this case?

If there's no warning in error log about JIT, then it is used.


> 
> This bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200793
> mention "--with-pcre-jit" isn't needed.
> 
[..]

As it's written in the documentation, the flag is needed only if the PCRE
library is built with nginx (i.e. the --with-pcre=... parameter is used).

  wbr, Valentin V. Bartenev



More information about the nginx mailing list