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
d2e526ce
Commit
d2e526ce
authored
Sep 01, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
man: Add missing sections to the vtc(7) manual
parent
557e99bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
vtc_http2.c
bin/varnishtest/vtc_http2.c
+9
-0
vtc-syntax.py
doc/sphinx/vtc-syntax.py
+3
-3
No files found.
bin/varnishtest/vtc_http2.c
View file @
d2e526ce
...
...
@@ -937,6 +937,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
n
=
0
;
/* SECTION: stream.spec.zexpect.ping PING specific
*
* ping.data
* The 8-bytes string of the PING frame payload.
* ping.ack (PING)
...
...
@@ -952,6 +953,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
return
(
buf
);
}
/* SECTION: stream.spec.zexpect.winup WINDOW_UPDATE specific
*
* winup.size
* The size of the upgrade given by the WINDOW_UPDATE frame.
*/
...
...
@@ -960,6 +962,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
RETURN_BUFFED
(
f
->
md
.
winup_size
);
}
/* SECTION: stream.spec.zexpect.prio PRIORITY specific
*
* prio.stream
* The stream ID announced.
*
...
...
@@ -983,6 +986,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
RETURN_BUFFED
(
f
->
md
.
prio
.
weight
);
}
/* SECTION: stream.spec.zexpect.rst RESET_STREAM specific
*
* rst.err
* The error code (as integer) of the RESET_STREAM frame.
*/
...
...
@@ -1037,6 +1041,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
if
(
!
strcmp
(
spec
,
"hdrsize"
))
{
RETURN_SETTINGS
(
6
);
}
}
/* SECTION: stream.spec.zexpect.push PUSH_PROMISE specific
*
* push.id
* The id of the promised stream.
*/
...
...
@@ -1045,6 +1050,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
RETURN_BUFFED
(
f
->
md
.
promised
);
}
/* SECTION: stream.spec.zexpect.goaway GOAWAY specific
*
* goaway.err
* The error code (as integer) of the GOAWAY frame.
*
...
...
@@ -1066,6 +1072,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
return
(
f
->
md
.
goaway
.
debug
);
}
/* SECTION: stream.spec.zexpect.zframe Generic frame
*
* frame.data
* Payload of the last frame
*
...
...
@@ -1101,6 +1108,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
}
}
/* SECTION: stream.spec.zexpect.zstream Stream
*
* stream.window
* The current window size of the stream, or, if on stream 0,
* of the connection.
...
...
@@ -1131,6 +1139,7 @@ cmd_var_resolve(const struct stream *s, const char *spec, char *buf)
return
(
NULL
);
}
/* SECTION: stream.spec.zexpect.ztable Index tables
*
* tbl.dec.size / tbl.enc.size
* Size (bytes) of the decoding/encoding table.
*
...
...
doc/sphinx/vtc-syntax.py
View file @
d2e526ce
...
...
@@ -38,7 +38,7 @@ import re
def
parse_file
(
fn
,
cl
,
tl
,
sl
):
p
=
False
section
=
""
resec
=
re
.
compile
(
"
[ /]
\
* SECTION: "
)
resec
=
re
.
compile
(
"
\
s*/
\
* SECTION: "
)
try
:
# Python3
...
...
@@ -57,13 +57,13 @@ def parse_file(fn, cl, tl, sl):
cl
[
section
]
=
[]
if
len
(
a
)
>
3
:
tl
[
section
]
=
re
.
sub
(
r"^
[\t ]*\
/?\* SECTION: [^ ]+ +"
,
r"^
\s*
/?\* SECTION: [^ ]+ +"
,
""
,
l
)
else
:
tl
[
section
]
=
""
p
=
1
elif
p
:
cl
[
section
]
.
append
(
re
.
sub
(
r"^
\* ?"
,
""
,
l
))
cl
[
section
]
.
append
(
re
.
sub
(
r"^
\s*
\* ?"
,
""
,
l
))
f
.
close
()
if
__name__
==
"__main__"
:
...
...
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