Are varnish subroutines reentrant?

Poul-Henning Kamp phk at
Sun Mar 20 22:43:49 CET 2011

In message <AANLkTin3nt-gDbCrAs94hBEShAHpDx=0E2UtVYMNnc8U at>, Jona
than Matthews writes:

>just to know if there's anything
>underlying the VCL at any specific points in the route through the
>standard subroutines that would make being reentrant more complex to
>deal with than solely making sure the algorithm is reentrant.  If that
>makes sense :-)

As long as you take care of the usual stuff, (static/global variables
etc) there shouldn't be any issues.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list