This commit is contained in:
Mateusz Gruszczyński committed 2026-11-25 15:47:34 +01:00
1 parent 6df256cdbb
commit 0d6249e383
159 files changed
+16737 -1971

No files matched your search

@@ -0,0 +1,12 @@
sub vcl_recv {
if (req.http.X-Mode == "alpha" && !req.http.X-Skip) {
set req.http.X-Class = "alpha";
} elsif (req.http.X-Mode ~ "^b" || req.http.X-Fallback == "yes") {
set req.http.X-Class = "beta";
} else {
set req.http.X-Class = "other";
}
if (req.http.X-Class == "alpha") { set req.http.X-Seen = "yes"; }
return(hash);
}
sub vcl_hash { hash_data(req.http.X-Class); }