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
5121efb3
Commit
5121efb3
authored
Dec 10, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A couple of style nits
parent
ca8dda44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cache_req_fsm.c
bin/varnishd/cache/cache_req_fsm.c
+2
-2
cache_vcl.c
bin/varnishd/cache/cache_vcl.c
+1
-0
No files found.
bin/varnishd/cache/cache_req_fsm.c
View file @
5121efb3
...
...
@@ -215,7 +215,7 @@ cnt_deliver(struct worker *wrk, struct req *req)
assert
(
bo
->
state
>=
BOS_FAILED
);
if
(
bo
->
state
==
BOS_FAILED
)
{
HSH_Deref
(
&
wrk
->
stats
,
NULL
,
&
req
->
obj
);
(
void
)
HSH_Deref
(
&
wrk
->
stats
,
NULL
,
&
req
->
obj
);
VBO_DerefBusyObj
(
wrk
,
&
req
->
busyobj
);
req
->
err_code
=
503
;
req
->
req_step
=
R_STP_ERROR
;
...
...
@@ -679,7 +679,7 @@ cnt_fetchbody(struct worker *wrk, struct req *req)
VBO_DerefBusyObj
(
wrk
,
&
req
->
busyobj
);
}
else
if
(
bo
->
state
==
BOS_FAILED
)
{
/* handle early failures */
HSH_Deref
(
&
wrk
->
stats
,
NULL
,
&
req
->
obj
);
(
void
)
HSH_Deref
(
&
wrk
->
stats
,
NULL
,
&
req
->
obj
);
VBO_DerefBusyObj
(
wrk
,
&
req
->
busyobj
);
req
->
err_code
=
503
;
req
->
req_step
=
R_STP_ERROR
;
...
...
bin/varnishd/cache/cache_vcl.c
View file @
5121efb3
...
...
@@ -282,6 +282,7 @@ ccf_config_discard(struct cli *cli, const char * const *av, void *priv)
ASSERT_CLI
();
AZ
(
priv
);
(
void
)
priv
;
vcl
=
vcl_find
(
av
[
2
]);
if
(
vcl
==
NULL
)
{
VCLI_SetResult
(
cli
,
CLIS_PARAM
);
...
...
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