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
f2357c88
Commit
f2357c88
authored
Mar 11, 2019
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't panic on worker pool failuers during H2:OU handshake
Fixes #2937
parent
0ad32622
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
cache_http2_session.c
bin/varnishd/http2/cache_http2_session.c
+1
-1
r02937.vtc
bin/varnishtest/tests/r02937.vtc
+25
-0
No files found.
bin/varnishd/http2/cache_http2_session.c
View file @
f2357c88
...
...
@@ -303,7 +303,7 @@ h2_ou_session(struct worker *wrk, struct h2_sess *h2,
r2
->
scheduled
=
0
;
h2_del_req
(
wrk
,
r2
);
VSLb
(
h2
->
vsl
,
SLT_Debug
,
"H2: No Worker-threads"
);
return
(
h2_ou_rel
(
wrk
,
req
)
);
return
(
0
);
}
return
(
1
);
}
...
...
bin/varnishtest/tests/r02937.vtc
0 → 100644
View file @
f2357c88
varnishtest "#2937: Panic on OU pool failure"
server s1 {
rxreq
txresp
} -start
varnish v1 -vcl+backend {} -start
varnish v1 -cliok "param.set feature +http2"
varnish v1 -cliok "debug.reqpool.fail F"
client c1 {
send "GET / HTTP/1.1\r\n"
send "Host: foo\r\n"
send "Upgrade: h2c\r\n"
send "HTTP2-Settings: AAMAAABkAAQAAP__\r\n"
send "\r\n"
rxresp
expect resp.status == 101
expect resp.http.upgrade == h2c
expect resp.http.connection == Upgrade
txpri
expect_close
} -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