ref: e03befa50d9e87945a96154e6ab3c503095406f7
parent: 457b217ced8d5da382ea3d8a81af26e49173ba29
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)
--
⑨