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
54be487b
Commit
54be487b
authored
Mar 06, 2019
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fail gracefull rather than xxxassert() on lack of worker threads.
Fixes: #2930
parent
92d01627
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
cache_http2_session.c
bin/varnishd/http2/cache_http2_session.c
+6
-1
No files found.
bin/varnishd/http2/cache_http2_session.c
View file @
54be487b
...
...
@@ -299,7 +299,12 @@ h2_ou_session(struct worker *wrk, struct h2_sess *h2,
h2_del_req
(
wrk
,
r2
);
return
(
0
);
}
XXXAZ
(
Pool_Task
(
wrk
->
pool
,
&
req
->
task
,
TASK_QUEUE_REQ
));
if
(
Pool_Task
(
wrk
->
pool
,
&
req
->
task
,
TASK_QUEUE_REQ
))
{
r2
->
scheduled
=
0
;
h2_del_req
(
wrk
,
r2
);
VSLb
(
h2
->
vsl
,
SLT_Debug
,
"H2: No Worker-threads"
);
return
(
h2_ou_rel
(
wrk
,
req
));
}
return
(
1
);
}
...
...
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