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
2511f536
Unverified
Commit
2511f536
authored
Jan 29, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish HTC error documentation
parent
10f1e5cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
vsl_tags.h
include/tbl/vsl_tags.h
+10
-10
No files found.
include/tbl/vsl_tags.h
View file @
2511f536
...
@@ -194,7 +194,7 @@ SLTM(Length, 0, "Size of object body",
...
@@ -194,7 +194,7 @@ SLTM(Length, 0, "Size of object body",
* #include <stdio.h>
* #include <stdio.h>
* int main(void) {
* int main(void) {
* #define HTC_STATUS(e, n, s, l) \
* #define HTC_STATUS(e, n, s, l) \
* printf("\t\"\\t*
%s
(%d): %s\\n\"\n", s, n, l);
* printf("\t\"\\t*
``%s``
(%d): %s\\n\"\n", s, n, l);
* #include "include/tbl/htc.h"
* #include "include/tbl/htc.h"
* return (0);
* return (0);
* }
* }
...
@@ -204,15 +204,15 @@ SLTM(FetchError, 0, "Error while fetching object",
...
@@ -204,15 +204,15 @@ SLTM(FetchError, 0, "Error while fetching object",
"Logs the error message of a failed fetch operation.
\n\n
"
"Logs the error message of a failed fetch operation.
\n\n
"
"Error messages should be self-explanatory, yet the http connection
\n
"
"Error messages should be self-explanatory, yet the http connection
\n
"
"(HTC) class of errors is reported with these symbols:
\n\n
"
"(HTC) class of errors is reported with these symbols:
\n\n
"
"
\t
*
junk
(-5): Received unexpected data
\n
"
"
\t
*
``junk``
(-5): Received unexpected data
\n
"
"
\t
*
close
(-4): Connection closed
\n
"
"
\t
*
``close``
(-4): Connection closed
\n
"
"
\t
*
timeout
(-3): Timed out
\n
"
"
\t
*
``timeout``
(-3): Timed out
\n
"
"
\t
*
overflow
(-2): Buffer/workspace too small
\n
"
"
\t
*
``overflow``
(-2): Buffer/workspace too small
\n
"
"
\t
*
eof
(-1): Unexpected end of input
\n
"
"
\t
*
``eof``
(-1): Unexpected end of input
\n
"
"
\t
*
empty
(0): Empty response
\n
"
"
\t
*
``empty``
(0): Empty response
\n
"
"
\t
*
more
(1): More data required
\n
"
"
\t
*
``more``
(1): More data required
\n
"
"
\t
*
complete
(2): Data complete (no error)
\n
"
"
\t
*
``complete``
(2): Data complete (no error)
\n
"
"
\t
*
idle
(3): Connection was closed while idle
\n
"
"
\t
*
``idle``
(3): Connection was closed while idle
\n
"
"
\n
Notice that some HTC errors are never emitted."
"
\n
Notice that some HTC errors are never emitted."
)
)
...
...
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