Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-vslp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-vslp
Commits
1ab4b75e
Commit
1ab4b75e
authored
Jun 16, 2014
by
Julian Wiesener
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtc update: req.backend got renamed to req.backend_hint
parent
30b3f25c
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
13 deletions
+13
-13
v01000.vtc
src/tests/v01000.vtc
+1
-1
v01001.vtc
src/tests/v01001.vtc
+3
-3
v01002.vtc
src/tests/v01002.vtc
+1
-1
v01003.vtc
src/tests/v01003.vtc
+1
-1
v01004.vtc
src/tests/v01004.vtc
+3
-3
v01005.vtc
src/tests/v01005.vtc
+1
-1
v01006.vtc
src/tests/v01006.vtc
+1
-1
v01007.vtc
src/tests/v01007.vtc
+1
-1
v01008.vtc
src/tests/v01008.vtc
+1
-1
No files found.
src/tests/v01000.vtc
View file @
1ab4b75e
...
...
@@ -28,7 +28,7 @@ varnish v1 -vcl+backend {
}
sub vcl_recv {
set req.backend = vd.backend();
set req.backend
_hint
= vd.backend();
return(pass);
}
...
...
src/tests/v01001.vtc
View file @
1ab4b75e
...
...
@@ -29,13 +29,13 @@ varnish v1 -vcl+backend {
sub vcl_recv {
if(req.url == "/1") {
set req.backend = vd.backend_by_int(1);
set req.backend
_hint
= vd.backend_by_int(1);
}
if(req.url == "/2") {
set req.backend = vd.backend_by_int(2147483647);
set req.backend
_hint
= vd.backend_by_int(2147483647);
}
if(req.url == "/3") {
set req.backend = vd.backend_by_int(4294967295);
set req.backend
_hint
= vd.backend_by_int(4294967295);
}
return(pass);
}
...
...
src/tests/v01002.vtc
View file @
1ab4b75e
...
...
@@ -29,7 +29,7 @@ varnish v1 -vcl+backend {
}
sub vcl_recv {
set req.backend = vd.backend();
set req.backend
_hint
= vd.backend();
return(pass);
}
...
...
src/tests/v01003.vtc
View file @
1ab4b75e
...
...
@@ -29,7 +29,7 @@ varnish v1 -vcl+backend {
}
sub vcl_recv {
set req.backend = vd.backend();
set req.backend
_hint
= vd.backend();
return(pass);
}
...
...
src/tests/v01004.vtc
View file @
1ab4b75e
...
...
@@ -29,13 +29,13 @@ varnish v1 -vcl+backend {
sub vcl_recv {
if(req.url == "/1") {
set req.backend = vd.backend_by_string("/eishoSu2");
set req.backend
_hint
= vd.backend_by_string("/eishoSu2");
}
if(req.url == "/2") {
set req.backend = vd.backend_by_string_hash("/eishoSu2", SHA256);
set req.backend
_hint
= vd.backend_by_string_hash("/eishoSu2", SHA256);
}
if(req.url == "/3") {
set req.backend = vd.backend_by_string_hash("/oob3dahS", RS);
set req.backend
_hint
= vd.backend_by_string_hash("/oob3dahS", RS);
}
return(pass);
}
...
...
src/tests/v01005.vtc
View file @
1ab4b75e
...
...
@@ -40,7 +40,7 @@ varnish v1 -vcl+backend {
}
sub vcl_recv {
set req.backend = vd.backend_by_string("/eishoSu2");
set req.backend
_hint
= vd.backend_by_string("/eishoSu2");
if(req.url == "/2" && req.restarts > 0) {
unset req.http.vrstart;
}
...
...
src/tests/v01006.vtc
View file @
1ab4b75e
...
...
@@ -28,7 +28,7 @@ varnish v1 -vcl+backend {
}
sub vcl_recv {
set req.backend = vd.backend_by_string("/eishoSu2");
set req.backend
_hint
= vd.backend_by_string("/eishoSu2");
return(pass);
}
...
...
src/tests/v01007.vtc
View file @
1ab4b75e
...
...
@@ -31,7 +31,7 @@ varnish v1 -vcl+backend {
}
sub vcl_recv {
set req.backend = vd.backend_by_string("/eishoSu2");
set req.backend
_hint
= vd.backend_by_string("/eishoSu2");
return(pass);
}
...
...
src/tests/v01008.vtc
View file @
1ab4b75e
...
...
@@ -34,7 +34,7 @@ varnish v1 -vcl+backend {
}
sub vcl_recv {
set req.backend = vd.backend();
set req.backend
_hint
= vd.backend();
return(pass);
}
...
...
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