]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4372: missing template files
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 12 Nov 2015 08:51:03 +0000 (10:51 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 12 Nov 2015 08:51:03 +0000 (10:51 +0200)
The ERR_SECURE_ACCEPT_FAIL and ERR_REQUEST_START_TIMEOUT errors apears that
have missing templates on squid startup.
Actually these errors does not produce any error page. Move them under the
TCP_RESET error in err_type.h to mark them as optional.

This is a Measurement Factory project

src/err_type.h

index 4896b39a93e9de0020a63f4fe160d9f18d3fc0ab..572b5952b0ebeeee2b7820e3d4237b0a5b785191 100644 (file)
@@ -27,7 +27,6 @@ typedef enum {
     ERR_WRITE_ERROR,
     ERR_CONNECT_FAIL,
     ERR_SECURE_CONNECT_FAIL,
-    ERR_SECURE_ACCEPT_FAIL,
     ERR_SOCKET_FAILURE,
 
     /* DNS Errors */
@@ -70,12 +69,14 @@ typedef enum {
     ERR_SQUID_SIGNATURE,        /* not really an error */
     ERR_SHUTTING_DOWN,
     ERR_PROTOCOL_UNKNOWN,
-    ERR_REQUEST_START_TIMEOUT,
 
     // NOTE: error types defined below TCP_RESET are optional and do not generate
     //       a log warning if the files are missing
     TCP_RESET,                  // Send TCP RST packet instead of error page
 
+    ERR_SECURE_ACCEPT_FAIL, // Rejects the SSL connection intead of error page
+    ERR_REQUEST_START_TIMEOUT, // Aborts the connection instead of error page
+
     /* Cache Manager GUI can install a manager index/home page */
     MGR_INDEX,