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
9c599baa
Commit
9c599baa
authored
Jan 16, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gah! spell "committed" right.
parent
05aba583
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cache.h
bin/varnishd/cache/cache.h
+1
-1
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+2
-2
No files found.
bin/varnishd/cache/cache.h
View file @
9c599baa
...
...
@@ -502,7 +502,7 @@ oc_getlru(const struct objcore *oc)
enum
busyobj_state_e
{
BOS_INVALID
=
0
,
/* don't touch (yet) */
BOS_REQ_DONE
,
/* beresp.* can be examined */
BOS_COMITTED
,
/* beresp.* can be examined */
BOS_COM
M
ITTED
,
/* beresp.* can be examined */
BOS_FETCHING
,
/* beresp.* can be examined */
BOS_FINISHED
,
/* object is complete */
BOS_FAILED
,
/* something went wrong */
...
...
bin/varnishd/cache/cache_fetch.c
View file @
9c599baa
...
...
@@ -248,7 +248,7 @@ vbf_stp_fetchhdr(struct worker *wrk, struct busyobj *bo)
}
if
(
bo
->
state
==
BOS_REQ_DONE
)
VBO_setstate
(
bo
,
BOS_COMITTED
);
VBO_setstate
(
bo
,
BOS_COM
M
ITTED
);
if
(
bo
->
do_esi
)
bo
->
do_stream
=
0
;
...
...
@@ -455,7 +455,7 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
if
(
bo
->
do_stream
)
HSH_Unbusy
(
&
wrk
->
stats
,
obj
->
objcore
);
if
(
bo
->
state
==
BOS_COMITTED
)
if
(
bo
->
state
==
BOS_COM
M
ITTED
)
VBO_setstate
(
bo
,
BOS_FETCHING
);
else
if
(
bo
->
state
!=
BOS_FAILED
)
WRONG
(
"Wrong bo->state"
);
...
...
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