ref: 0cc7de637fdcd7f90198981090acbf4ae32c60d3
parent: b4dc52ebf70ffa18e9a7a2b3cee5ff143d8bd5ce
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Jul 2 11:11:36 EDT 2025
tlssrv: we know the internet is hostile When running any service on the internet, a lot of junk connection attempts are made, and printing each of them merely fills the console with junk. Best not say anything unless we're debugging.
--- a/sys/src/cmd/tlssrv.c
+++ b/sys/src/cmd/tlssrv.c
@@ -119,7 +119,8 @@
fd = tlsServer(0, conn);
if(fd < 0){
- reporter("failed: %r");
+ if(debug)
+ reporter("failed: %r");
exits(0);
}
if(debug)
--
⑨