From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 24 Jan 2019 12:24:14 +0000 (+0100)
Subject: Show the FEATURE_HTTPS_FILTERING status on the show-status page
X-Git-Tag: v_3_0_29~584
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/developer-manual/quickstart.html?a=commitdiff_plain;h=c6ae2ae325d235baed559fa8227e278e96efc68c;p=privoxy.git

Show the FEATURE_HTTPS_FILTERING status on the show-status page
---

diff --git a/cgisimple.c b/cgisimple.c
index 5711087e..a7678ae2 100644
--- a/cgisimple.c
+++ b/cgisimple.c
@@ -1828,6 +1828,14 @@ static jb_err show_defines(struct map *exports)
          1,
 #else
          0,
+#endif
+      },
+      {
+         "FEATURE_HTTPS_FILTERING",
+#ifdef FEATURE_HTTPS_FILTERING
+         1,
+#else
+         0,
 #endif
       },
       {
diff --git a/templates/show-status b/templates/show-status
index 4b3a2ac4..c7844a79 100644
--- a/templates/show-status
+++ b/templates/show-status
@@ -308,6 +308,11 @@
               <td>@if-FEATURE_GRACEFUL_TERMINATION-then@ Yes @else-not-FEATURE_GRACEFUL_TERMINATION@ No @endif-FEATURE_GRACEFUL_TERMINATION@</td>
               <td>Allows to shutdown Privoxy through the web interface.</td>
             </tr>
+            <tr>
+              <td><code>FEATURE_HTTPS_FILTERING</code></td>
+              <td>@if-FEATURE_HTTPS_FILTERING-then@ Yes @else-not-FEATURE_HTTPS_FILTERING@ No @endif-FEATURE_HTTPS_FILTERING@</td>
+              <td>Allows to intercept and filter HTTPS traffic.</td>
+            </tr>
             <tr>
               <td><code>FEATURE_IMAGE_BLOCKING</code></td>
               <td>@if-FEATURE_IMAGE_BLOCKING-then@ Yes @else-not-FEATURE_IMAGE_BLOCKING@ No @endif-FEATURE_IMAGE_BLOCKING@</td>