Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
d11b8531
Commit
d11b8531
authored
Aug 07, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shave another couple of lines out of cnt_start{}
parent
279bc2ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
cache_http1_fsm.c
bin/varnishd/cache/cache_http1_fsm.c
+3
-0
cache_req_fsm.c
bin/varnishd/cache/cache_req_fsm.c
+2
-6
No files found.
bin/varnishd/cache/cache_http1_fsm.c
View file @
d11b8531
...
...
@@ -264,6 +264,9 @@ http1_dissect(struct worker *wrk, struct req *req)
return
(
1
);
}
wrk
->
stats
.
client_req
++
;
req
->
acct_req
.
req
++
;
req
->
ws_req
=
WS_Snapshot
(
req
->
ws
);
req
->
doclose
=
http_DoConnection
(
req
->
http
);
...
...
bin/varnishd/cache/cache_req_fsm.c
View file @
d11b8531
...
...
@@ -1110,6 +1110,8 @@ cnt_recv(const struct worker *wrk, struct req *req)
req
->
director
=
req
->
vcl
->
director
[
0
];
AN
(
req
->
director
);
EXP_Clr
(
&
req
->
exp
);
req
->
disable_esi
=
0
;
req
->
hash_always_miss
=
0
;
req
->
hash_ignore_busy
=
0
;
...
...
@@ -1190,17 +1192,11 @@ cnt_start(struct worker *wrk, struct req *req)
AZ
(
req
->
esi_level
);
assert
(
!
isnan
(
req
->
t_req
));
/* Update stats of various sorts */
wrk
->
stats
.
client_req
++
;
req
->
acct_req
.
req
++
;
/* Assign XID and log */
req
->
xid
=
++
xids
;
/* XXX not locked */
VSLb
(
req
->
vsl
,
SLT_ReqStart
,
"%s %s %u"
,
req
->
sp
->
addr
,
req
->
sp
->
port
,
req
->
xid
);
EXP_Clr
(
&
req
->
exp
);
if
(
req
->
err_code
)
req
->
req_step
=
R_STP_ERROR
;
else
...
...
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