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
4e7fb1a9
Commit
4e7fb1a9
authored
Apr 04, 2024
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtc: Coverage for initial h2 settings
There's no way to probe the current push status or maximum frame size.
parent
fd9bf7e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
2 deletions
+34
-2
t02000.vtc
bin/varnishtest/tests/t02000.vtc
+34
-2
No files found.
bin/varnishtest/tests/t02000.vtc
View file @
4e7fb1a9
...
@@ -35,7 +35,7 @@ client c1 {
...
@@ -35,7 +35,7 @@ client c1 {
varnish v1 -cliok "param.set feature +http2"
varnish v1 -cliok "param.set feature +http2"
varnish v1 -cliok "param.reset h2_initial_window_size"
varnish v1 -cliok "param.reset h2_initial_window_size"
client c
1
{
client c
2
{
stream 1 {
stream 1 {
txprio -weight 10 -stream 0
txprio -weight 10 -stream 0
} -run
} -run
...
@@ -85,7 +85,7 @@ varnish v1 -syntax 4.1 -vcl+backend {
...
@@ -85,7 +85,7 @@ varnish v1 -syntax 4.1 -vcl+backend {
}
}
}
}
client c
1
{
client c
3
{
stream 7 {
stream 7 {
txreq -url "/uncached"
txreq -url "/uncached"
rxresp
rxresp
...
@@ -103,3 +103,35 @@ client c1 {
...
@@ -103,3 +103,35 @@ client c1 {
expect resp.http.C-Sess-XID == resp.http.B-Sess-XID
expect resp.http.C-Sess-XID == resp.http.B-Sess-XID
} -run
} -run
} -run
} -run
# Check default settings
varnish v1 -cliok "param.reset h2_header_table_size"
varnish v1 -cliok "param.reset h2_max_concurrent_streams"
varnish v1 -cliok "param.reset h2_initial_window_size"
varnish v1 -cliok "param.reset h2_max_frame_size"
varnish v1 -cliok "param.reset h2_max_header_list_size"
varnish v1 -cliok "param.reset http_req_size"
client c4 {
txpri
stream 0 {
# check initial settings from varnishd
txsettings
rxsettings
expect settings.ack == false
expect settings.push == <undef>
expect settings.hdrtbl == <undef>
expect settings.maxstreams == 100
expect settings.winsize == <undef>
expect settings.framesize == <undef>
expect settings.hdrsize ~ ^(12288|32768)$
# check (some) values not set by varnishd
expect stream.window == 65535
txsettings -ack
rxsettings
expect settings.ack == true
} -run
} -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