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
82f07357
Commit
82f07357
authored
Jun 22, 2021
by
Martin Blix Grydeland
Committed by
Dridi Boukelmoune
Aug 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test case that buffers fully before starting to consume the req body
parent
8a18531a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
t02019.vtc
bin/varnishtest/tests/t02019.vtc
+43
-0
No files found.
bin/varnishtest/tests/t02019.vtc
0 → 100644
View file @
82f07357
varnishtest "H/2 stream early buffer exhaustion"
barrier b1 sock 2
server s1 {
rxreq
txresp
} -start
varnish v1 -vcl+backend {
import vtc;
sub vcl_recv {
vtc.barrier_sync("${b1_sock}");
vtc.sleep(0.1s);
}
} -start
varnish v1 -cliok "param.set feature +http2"
varnish v1 -cliok "param.reset h2_initial_window_size"
varnish v1 -cliok "param.reset h2_rx_window_low_water"
client c1 {
stream 1 {
txreq -req POST -url /1 -hdr "content-length" "131072" -nostrend
txdata -datalen 16384 -nostrend
txdata -datalen 16384 -nostrend
txdata -datalen 16384 -nostrend
txdata -datalen 16383 -nostrend
barrier b1 sync
rxwinup
txdata -datalen 16384 -nostrend
rxwinup
txdata -datalen 16384 -nostrend
rxwinup
txdata -datalen 16384 -nostrend
rxwinup
txdata -datalen 16384 -nostrend
rxwinup
txdata -datalen 1
rxresp
expect resp.status == 200
} -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