From 235ce9887dd1f005ec10b7860c0042da55338a96 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Thu, 2 Mar 2023 11:59:53 +0100 Subject: [PATCH 1/2] fix(tls): silent on succesful handshake only show an error line if the handshake failed --- src/pegasus/plugins/tls.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pegasus/plugins/tls.lua b/src/pegasus/plugins/tls.lua index 877be62..a8fd596 100644 --- a/src/pegasus/plugins/tls.lua +++ b/src/pegasus/plugins/tls.lua @@ -43,10 +43,10 @@ function TLS:newConnection(client) end if not client:dohandshake() then - print"handshake failed" + print"tls handshake failed" return false end - print"running TLS" + --print"running TLS" return client end From 0a10333562b9373dc782af8f5b4c35392202e1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Evandro=20Leopoldino=20Gon=C3=A7alves?= Date: Sat, 13 Jan 2024 14:18:39 +0100 Subject: [PATCH 2/2] Update src/pegasus/plugins/tls.lua --- src/pegasus/plugins/tls.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pegasus/plugins/tls.lua b/src/pegasus/plugins/tls.lua index a8fd596..990931a 100644 --- a/src/pegasus/plugins/tls.lua +++ b/src/pegasus/plugins/tls.lua @@ -46,7 +46,6 @@ function TLS:newConnection(client) print"tls handshake failed" return false end - --print"running TLS" return client end