Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-zipflow
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-zipflow
Commits
99a7d77f
Unverified
Commit
99a7d77f
authored
Aug 21, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A bit of coverage testing
parent
79abae95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
1 deletion
+69
-1
Makefile.am
src/Makefile.am
+2
-1
coverage.vtc
src/vtc/coverage.vtc
+67
-0
No files found.
src/Makefile.am
View file @
99a7d77f
...
...
@@ -28,7 +28,8 @@ AM_VTC_LOG_FLAGS = \
TESTS
=
\
vtc/vmod_zipflow.vtc
\
vtc/empty.vtc
vtc/empty.vtc
\
vtc/coverage.vtc
# Documentation
...
...
src/vtc/coverage.vtc
0 → 100644
View file @
99a7d77f
varnishtest "vmod-zipflow error handling & corner cases"
server s1 {
rxreq
txresp -bodylen 10240
} -start
varnish v1 -vcl+backend {
import zipflow;
import std;
sub vcl_deliver {
zipflow.set_level(0);
set resp.filters += " zipflow";
}
} -start
client c1 {
txreq
rxresphdrs
expect resp.status == 200
rxchunk
} -start
client c2 {
txreq
rxresphdrs
expect resp.status == 200
rxchunk
rxchunk
} -start
client c3 {
txreq
rxresphdrs
expect resp.status == 200
rxchunk
rxchunk
rxchunk
} -start
client c4 {
txreq
rxresphdrs
expect resp.status == 200
rxchunk
rxchunk
rxchunk
rxchunk
} -start
client c5 {
txreq
rxresphdrs
expect resp.status == 200
rxchunk
rxchunk
rxchunk
rxchunk
rxchunk
} -start
client c1 -wait
client c2 -wait
client c3 -wait
client c4 -wait
client c5 -wait
\ No newline at end of file
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