Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
05198064
Commit
05198064
authored
Dec 01, 2015
by
Dridi Boukelmoune
Committed by
Lasse Karstensen
Jan 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid connection attempts to ${bad_ip}:80
There is a Squid server listening in today's office...
parent
dffd38af
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
26 additions
and
20 deletions
+26
-20
b00015.vtc
bin/varnishtest/tests/b00015.vtc
+2
-1
b00017.vtc
bin/varnishtest/tests/b00017.vtc
+2
-1
c00028.vtc
bin/varnishtest/tests/c00028.vtc
+2
-1
c00061.vtc
bin/varnishtest/tests/c00061.vtc
+1
-1
c00063.vtc
bin/varnishtest/tests/c00063.vtc
+1
-1
c00066.vtc
bin/varnishtest/tests/c00066.vtc
+1
-1
d00007.vtc
bin/varnishtest/tests/d00007.vtc
+1
-1
d00008.vtc
bin/varnishtest/tests/d00008.vtc
+1
-1
d00009.vtc
bin/varnishtest/tests/d00009.vtc
+1
-1
d00010.vtc
bin/varnishtest/tests/d00010.vtc
+1
-1
d00011.vtc
bin/varnishtest/tests/d00011.vtc
+1
-1
d00012.vtc
bin/varnishtest/tests/d00012.vtc
+2
-2
d00013.vtc
bin/varnishtest/tests/d00013.vtc
+1
-1
r01002.vtc
bin/varnishtest/tests/r01002.vtc
+1
-1
r01395.vtc
bin/varnishtest/tests/r01395.vtc
+2
-1
r01398.vtc
bin/varnishtest/tests/r01398.vtc
+2
-1
r01504.vtc
bin/varnishtest/tests/r01504.vtc
+1
-0
r01510.vtc
bin/varnishtest/tests/r01510.vtc
+1
-1
r01512.vtc
bin/varnishtest/tests/r01512.vtc
+1
-1
r01730.vtc
bin/varnishtest/tests/r01730.vtc
+1
-1
No files found.
bin/varnishtest/tests/b00015.vtc
View file @
05198064
...
...
@@ -4,7 +4,8 @@ varnishtest "Check synthetic error page caching"
varnish v1 -vcl {
backend foo {
.host = "${bad_ip}"; .port = "9080";
.host = "${bad_ip}";
.port = "9080";
}
} -start
...
...
bin/varnishtest/tests/b00017.vtc
View file @
05198064
...
...
@@ -2,7 +2,8 @@ varnishtest "Check that we do not close one error"
varnish v1 -vcl {
backend foo {
.host = "${bad_ip}"; .port = "9080";
.host = "${bad_ip}";
.port = "9080";
}
sub vcl_recv {
return (synth(888));
...
...
bin/varnishtest/tests/c00028.vtc
View file @
05198064
...
...
@@ -2,7 +2,8 @@ varnishtest "Test that we can't recurse restarts forever"
varnish v1 -vcl {
backend bad {
.host = "${bad_ip}"; .port = "9090";
.host = "${bad_ip}";
.port = "9090";
}
sub vcl_backend_fetch {
...
...
bin/varnishtest/tests/c00061.vtc
View file @
05198064
...
...
@@ -2,7 +2,7 @@ varnishtest "retry in vcl_backend_error"
varnish v1 -vcl {
backend b1 { .host = "${bad_ip}"; }
backend b1 { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_backend_error {
return (retry);
...
...
bin/varnishtest/tests/c00063.vtc
View file @
05198064
...
...
@@ -2,7 +2,7 @@ varnishtest "cache backend synth object"
varnish v1 -vcl {
backend b { .host = "${bad_ip}"; }
backend b { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_backend_error {
set beresp.ttl = 1s;
...
...
bin/varnishtest/tests/c00066.vtc
View file @
05198064
...
...
@@ -6,7 +6,7 @@ server s1 {
} -start
varnish v1 -vcl+backend {
backend bad { .host = "${bad_ip}"; }
backend bad { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_recv {
if (req.url == "/synth") {
return (synth(200, "Synth test"));
...
...
bin/varnishtest/tests/d00007.vtc
View file @
05198064
...
...
@@ -8,7 +8,7 @@ server s1 {
varnish v1 -vcl {
import ${vmod_debug};
backend dummy { .host = "${bad_ip}"; }
backend dummy { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new s1 = debug.dyn("${s1_addr}", "${s1_port}");
...
...
bin/varnishtest/tests/d00008.vtc
View file @
05198064
...
...
@@ -15,7 +15,7 @@ server s2 {
varnish v1 -vcl {
import ${vmod_debug};
backend dummy { .host = "${bad_ip}"; }
backend dummy { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new s1 = debug.dyn("${s1_addr}", "${s1_port}");
...
...
bin/varnishtest/tests/d00009.vtc
View file @
05198064
...
...
@@ -18,7 +18,7 @@ server s2 {
varnish v1 -vcl {
import ${vmod_debug};
backend dummy { .host = "${bad_ip}"; }
backend dummy { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new s1 = debug.dyn("${s1_addr}", "${s1_port}");
...
...
bin/varnishtest/tests/d00010.vtc
View file @
05198064
...
...
@@ -18,7 +18,7 @@ server s2 {
varnish v1 -vcl {
import ${vmod_debug};
backend dummy { .host = "${bad_ip}"; }
backend dummy { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new s1 = debug.dyn("${s1_addr}", "${s1_port}");
...
...
bin/varnishtest/tests/d00011.vtc
View file @
05198064
...
...
@@ -12,7 +12,7 @@ varnish v1 -vcl {
import ${vmod_std};
import ${vmod_debug};
backend dummy { .host = "${bad_ip}"; }
backend dummy { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new s1 = debug.dyn("${s1_addr}", "${s1_port}");
...
...
bin/varnishtest/tests/d00012.vtc
View file @
05198064
...
...
@@ -12,7 +12,7 @@ server s1 {
varnish v1 -arg "-p thread_pools=1" -vcl {
import ${vmod_debug};
backend dummy { .host = "${bad_ip}"; }
backend dummy { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new s1 = debug.dyn("${s1_addr}", "${s1_port}");
...
...
@@ -41,7 +41,7 @@ server s2 {
varnish v1 -vcl {
import ${vmod_debug};
backend dummy { .host = "${bad_ip}"; }
backend dummy { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new s2 = debug.dyn("${s2_addr}", "${s2_port}");
...
...
bin/varnishtest/tests/d00013.vtc
View file @
05198064
...
...
@@ -12,7 +12,7 @@ varnish v1 -vcl {
import ${vmod_std};
import ${vmod_debug};
backend dummy { .host = "${bad_ip}"; }
backend dummy { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new s1 = debug.dyn("${s1_addr}", "${s1_port}");
...
...
bin/varnishtest/tests/r01002.vtc
View file @
05198064
...
...
@@ -3,7 +3,7 @@ varnishtest "Real relational comparisons"
varnish v1 -vcl {
import ${vmod_std};
backend foo { .host = "${bad_ip}"; }
backend foo { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_recv {
if (std.random(0,5) < 1.0) {
return (pipe);
...
...
bin/varnishtest/tests/r01395.vtc
View file @
05198064
...
...
@@ -2,7 +2,8 @@ varnishtest "Test vcl_synth is called even if vcl_backend_fetch failed"
varnish v1 -vcl {
backend default {
.host = "${bad_ip}"; .port = "9090";
.host = "${bad_ip}";
.port = "9090";
}
sub vcl_backend_error {
...
...
bin/varnishtest/tests/r01398.vtc
View file @
05198064
...
...
@@ -2,7 +2,8 @@ varnishtest "ticket 1398"
varnish v1 -vcl {
backend foo {
.host = "${bad_ip}"; .port = "9080";
.host = "${bad_ip}";
.port = "9080";
}
sub vcl_backend_response {
set beresp.http.X-BE-Name = beresp.backend.name;
...
...
bin/varnishtest/tests/r01504.vtc
View file @
05198064
...
...
@@ -3,6 +3,7 @@ varnishtest "unreferenced acls"
varnish v1 -arg "-p vcc_err_unref=off" -vcl {
backend s1 {
.host = "${bad_ip}";
.port = "9090";
}
acl foo {
"127.0.0.1";
...
...
bin/varnishtest/tests/r01510.vtc
View file @
05198064
...
...
@@ -11,7 +11,7 @@ varnish v1 -errvcl {Object name 'first' already used.} {
varnish v1 -errvcl {Object name 'first' already used.} {
import ${vmod_debug};
backend first { .host = "${bad_ip}"; }
backend first { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_init {
new first = debug.obj("FOO");
...
...
bin/varnishtest/tests/r01512.vtc
View file @
05198064
...
...
@@ -33,7 +33,7 @@ client c1 {
# Then across v_b_e and v_b_f
varnish v1 -vcl {
backend bad { .host = "${bad_ip}"; }
backend bad { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_backend_fetch {
set bereq.backend = bad;
if (bereq.http.x-abandon == "2") {
...
...
bin/varnishtest/tests/r01730.vtc
View file @
05198064
varnishtest "Test connection error on pipe"
varnish v1 -vcl {
backend default { .host = "${bad_ip}"; }
backend default { .host = "${bad_ip}";
.port = "9080";
}
sub vcl_recv {
return (pipe);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment