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
2d98cc5f
Commit
2d98cc5f
authored
Sep 01, 2016
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add VCL labels to the request state machine
parent
b2eb0a4d
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
340 additions
and
312 deletions
+340
-312
cache_req_fsm.dot
doc/graphviz/cache_req_fsm.dot
+10
-7
cache_req_fsm.svg
doc/graphviz/cache_req_fsm.svg
+330
-305
No files found.
doc/graphviz/cache_req_fsm.dot
View file @
2d98cc5f
...
...
@@ -47,16 +47,16 @@ digraph cache_req_fsm {
fini:ok -> ok
*/
acceptor
[
shape
=
hexagon
label
=
"Request received"
]
ESI_REQ
[
shape
=
hexagon
]
acceptor
[
shape
=
hexagon
label
=
"Request received"
]
label_select
[
shape
=
hexagon
label
=
"Label selected"
]
ESI_REQ
[
shape
=
hexagon
label
=
"ESI request"
]
RESTART
[
shape
=
plaintext
]
ESI_REQ
->
recv
SYNTH
[
shape
=
plaintext
]
LABEL
[
shape
=
plaintext
]
acceptor
->
recv
[
style
=
bold
]
label_select
->
recv
[
style
=
bold
]
subgraph
xcluster_deliver
{
/* cnt_deliver() */
...
...
@@ -187,7 +187,7 @@ digraph cache_req_fsm {
subgraph
xcluster_recv
{
recv
[
shape
=
record
label
=
"{cnt_recv:|{vcl_recv\{\}|req.*}|{<hash>hash|<purge>purge|<pass>pass|<pipe>pipe|<synth>synth}}"
label
=
"{cnt_recv:|{vcl_recv\{\}|req.*}|{<hash>hash|<purge>purge|<pass>pass|<pipe>pipe|<synth>synth
|<vcl>vcl
}}"
]
recv
:
hash
->
hash
[
style
=
bold
,
color
=
green
]
hash
[
...
...
@@ -204,6 +204,9 @@ digraph cache_req_fsm {
recv
:
purge
:
s
->
hash
[
style
=
bold
,
color
=
purple
]
recv
:
vcl
:
s
->
vcl_label
vcl_label
[
label
=
"LABEL"
,
shape
=
plaintext
]
/* cnt_purge */
subgraph
xcluster_purge
{
purge
[
...
...
doc/graphviz/cache_req_fsm.svg
View file @
2d98cc5f
This diff is collapsed.
Click to expand it.
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