We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53eb87a commit d7f5c8bCopy full SHA for d7f5c8b
Makefile
@@ -2,7 +2,8 @@ SHELL := bash
2
3
.PHONY: run
4
run:
5
- go run ./cmd/server --port=8080
+ CGO_ENABLED=0 go build -o varnishlog-parser cmd/server/varnishlog-parser.go
6
+ ./varnishlog-parser --port=8080
7
8
.PHONY: test
9
test:
docker-test/backend.vcl
@@ -6,6 +6,8 @@ import std;
backend default none;
sub vcl_recv {
+ std.log("start custom backend recv");
10
+
11
set req.backend_hint = default;
12
13
if (req.url ~ "^/ec1") {
@@ -24,6 +26,7 @@ sub vcl_recv {
24
26
return(synth(709, "ESI 1"));
25
27
}
28
29
+ std.log("end custom backend recv");
30
return(synth(710, "OK"));
31
32
0 commit comments