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
4060412e
Commit
4060412e
authored
Mar 05, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deal with WINDOWS_UPDATES on closed streams
parent
3b30c88c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+2
-0
t02003.vtc
bin/varnishtest/tests/t02003.vtc
+11
-0
No files found.
bin/varnishd/http2/cache_http2_proto.c
View file @
4060412e
...
...
@@ -279,6 +279,8 @@ h2_rx_window_update(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
wu
=
vbe32dec
(
h2
->
rxf_data
)
&
~
(
1LU
<<
31
);
if
(
wu
==
0
)
return
(
H2SE_PROTOCOL_ERROR
);
if
(
r2
==
NULL
)
return
(
0
);
Lck_Lock
(
&
h2
->
sess
->
mtx
);
r2
->
window
+=
wu
;
Lck_Unlock
(
&
h2
->
sess
->
mtx
);
...
...
bin/varnishtest/tests/t02003.vtc
View file @
4060412e
...
...
@@ -81,6 +81,17 @@ client c1 {
} -run
} -run
client c1 {
stream 1 {
txreq
rxresp
} -run
stream 1 {
# WINDOW_UPDATE on closed stream
txwinup -size 0x4000
} -run
} -run
#######################################################################
# Test PING error conditions
...
...
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