[master] 2511f5364 Polish HTC error documentation

Nils Goroll nils.goroll at uplex.de
Mon Jan 29 15:59:05 UTC 2024


commit 2511f5364489c8345b3879a5eee21179bf71e9b2
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Jan 29 16:48:22 2024 +0100

    Polish HTC error documentation

diff --git a/include/tbl/vsl_tags.h b/include/tbl/vsl_tags.h
index 24fca6f9d..c94af34f2 100644
--- a/include/tbl/vsl_tags.h
+++ b/include/tbl/vsl_tags.h
@@ -194,7 +194,7 @@ SLTM(Length, 0, "Size of object body",
  * #include <stdio.h>
  * int main(void) {
  * #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"
  *	return (0);
  * }
@@ -204,15 +204,15 @@ SLTM(FetchError, 0, "Error while fetching object",
 	"Logs the error message of a failed fetch operation.\n\n"
 	"Error messages should be self-explanatory, yet the http connection\n"
 	"(HTC) class of errors is reported with these symbols:\n\n"
-	"\t* junk (-5): Received unexpected data\n"
-	"\t* close (-4): Connection closed\n"
-	"\t* timeout (-3): Timed out\n"
-	"\t* overflow (-2): Buffer/workspace too small\n"
-	"\t* eof (-1): Unexpected end of input\n"
-	"\t* empty (0): Empty response\n"
-	"\t* more (1): More data required\n"
-	"\t* complete (2): Data complete (no error)\n"
-	"\t* idle (3): Connection was closed while idle\n"
+	"\t* ``junk`` (-5): Received unexpected data\n"
+	"\t* ``close`` (-4): Connection closed\n"
+	"\t* ``timeout`` (-3): Timed out\n"
+	"\t* ``overflow`` (-2): Buffer/workspace too small\n"
+	"\t* ``eof`` (-1): Unexpected end of input\n"
+	"\t* ``empty`` (0): Empty response\n"
+	"\t* ``more`` (1): More data required\n"
+	"\t* ``complete`` (2): Data complete (no error)\n"
+	"\t* ``idle`` (3): Connection was closed while idle\n"
 	"\nNotice that some HTC errors are never emitted."
 	)
 


More information about the varnish-commit mailing list