Remove ifdef FEATURE_HTTPS_INSPECTION that is always true
authorFabian Keil <fk@fabiankeil.de>
Sat, 3 May 2025 17:05:44 +0000 (19:05 +0200)
committerFabian Keil <fk@fabiankeil.de>
Wed, 18 Jun 2025 03:48:30 +0000 (05:48 +0200)
... as it's in an ifdef FEATURE_HTTPS_INSPECTION block.

jcc.c

diff --git a/jcc.c b/jcc.c
index 99aebf0..6970ead 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -4137,9 +4137,7 @@ static void handle_established_connection(struct client_state *csp)
                       * to the client... it probably can't hear us anyway.
                       */
                      mark_server_socket_tainted(csp);
-#ifdef FEATURE_HTTPS_INSPECTION
                      close_client_and_server_ssl_connections(csp);
-#endif
                      return;
                   }
                }