Created
November 8, 2018 20:11
-
-
Save rezan/55ed76ad673646a03decfb02fba85ace to your computer and use it in GitHub Desktop.
Using CAPS for a VMOD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
varnishtest "Test vmod in caps" | |
server s1 { | |
rxreq | |
txresp | |
} -start | |
varnish v1 -vcl+backend { | |
import std; | |
sub vcl_recv { | |
STD.log("test"); | |
} | |
} -start | |
client c1 { | |
txreq | |
rxresp | |
expect resp.status == 200 | |
} -run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment