solve the pcre stack overflow #1576 - was: stack vs workspace for pcre and others

Nils Goroll slink at schokola.de
Mon May 18 13:10:58 CEST 2015


> "which part of recursive didn't you understand ?"

pcre allows to limit the recursion depth. iirc, the original plan was to
determine the available space and calculate a safe upper bound for the recursion
depth.

The remaining issue with JIT, besides bugs, is that the 32k jit stack
allocatited from the machine stack may not suffice. See CONTROLLING THE JIT
STACK in pcrejit(3)




More information about the varnish-dev mailing list