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
2e66e0b9
Commit
2e66e0b9
authored
Dec 11, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it the transports job to increment stats->client_req
parent
3f0c7ade
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
cache_req_fsm.c
bin/varnishd/cache/cache_req_fsm.c
+0
-2
cache_http1_fsm.c
bin/varnishd/http1/cache_http1_fsm.c
+1
-0
cache_http2_proto.c
bin/varnishd/http2/cache_http2_proto.c
+1
-0
No files found.
bin/varnishd/cache/cache_req_fsm.c
View file @
2e66e0b9
...
...
@@ -78,8 +78,6 @@ cnt_transport(struct worker *wrk, struct req *req)
http_Unset
(
req
->
http
,
H_Expect
);
}
wrk
->
stats
->
client_req
++
;
AZ
(
req
->
err_code
);
req
->
doclose
=
http_DoConnection
(
req
->
http
);
...
...
bin/varnishd/http1/cache_http1_fsm.c
View file @
2e66e0b9
...
...
@@ -441,6 +441,7 @@ HTTP1_Session(struct worker *wrk, struct req *req)
}
else
if
(
st
==
H1PROC
)
{
req
->
task
.
func
=
http1_req
;
req
->
task
.
priv
=
req
;
wrk
->
stats
->
client_req
++
;
if
(
CNT_Request
(
wrk
,
req
)
==
REQ_FSM_DISEMBARK
)
return
;
req
->
task
.
func
=
NULL
;
...
...
bin/varnishd/http2/cache_http2_proto.c
View file @
2e66e0b9
...
...
@@ -536,6 +536,7 @@ h2_do_req(struct worker *wrk, void *priv)
THR_SetRequest
(
req
);
req
->
http
->
conds
=
1
;
wrk
->
stats
->
client_req
++
;
if
(
CNT_Request
(
wrk
,
req
)
!=
REQ_FSM_DISEMBARK
)
{
AZ
(
req
->
ws
->
r
);
h2
=
r2
->
h2sess
;
...
...
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