From 153d240d0de06f0925d6bd5c3ead7b8e457a495d Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 3 Aug 2025 21:35:33 +0000 Subject: [PATCH] mention the -nc option in the max-conn errormsg --- copyparty/httpsrv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/copyparty/httpsrv.py b/copyparty/httpsrv.py index 56638003..ddf5e7bc 100644 --- a/copyparty/httpsrv.py +++ b/copyparty/httpsrv.py @@ -324,7 +324,8 @@ class HttpSrv(object): spins = 0 while self.ncli >= self.nclimax: if not spins: - self.log(self.name, "at connection limit; waiting", 3) + t = "at connection limit (global-option 'nc'); waiting" + self.log(self.name, t, 3) spins += 1 time.sleep(0.1)