Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-esiextra
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-esiextra
Commits
5301a92e
Commit
5301a92e
authored
Nov 23, 2017
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test zero length response
parent
ee197adb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
vmod_esiextra.vtc
src/vtc/vmod_esiextra.vtc
+13
-0
No files found.
src/vtc/vmod_esiextra.vtc
View file @
5301a92e
...
...
@@ -2,9 +2,11 @@ varnishtest "Generate an ETag as the hash of the received body"
server s1 {
rxreq
expect req.url == "/"
txresp -body "foo"
rxreq
expect req.url == "/chunked"
txresp -nolen -hdr "Transfer-encoding: chunked"
chunked {f}
delay .2
...
...
@@ -13,6 +15,11 @@ server s1 {
chunked {o}
delay .2
chunkedlen 0
rxreq
expect req.url == "/zero"
txresp -nolen -hdr "Transfer-encoding: chunked"
chunkedlen 0
} -start
...
...
@@ -35,3 +42,9 @@ client c1 -repeat 3 {
rxresp
expect resp.http.ETag == {"2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"}
} -run
client c1 -repeat 3 {
txreq -url "/zero"
rxresp
expect resp.http.ETag == {"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}
} -run
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