NNTPC: Clients disconnecting prematurely.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Most of the entries logged by nntpcache are caused by clients that either
just disconnect without saying QUIT, or say QUIT and don't wait for the
response (I suspect Mozilla as the primary culprit).

Here is a small patch to lower the priority of this message.

--- nntpcache.c-dist	Thu Mar  6 09:54:34 1997
+++ nntpcache.c	Thu Mar  6 09:54:54 1997
@@ -180,7 +180,7 @@
 static RETSIGTYPE sigpipe (int sig)
 {
 	signal (SIGPIPE, SIG_IGN);	/* syslog can cause a SIGPIPE ! */
-	logw (("client disconnected before QUIT ACK"));
+	logd (("client disconnected before QUIT ACK"));
 	Exit ();
 }
 
@@ -1036,7 +1036,7 @@
 #endif
 		if (!Get (buf, sizeof buf))
 		{
-			logw (("client disconnected before QUIT"));
+			logd (("client disconnected before QUIT"));
 			Exit ();
 		}
 		if (con.statistics)

-- 
 `O O'  | Nick.Holloway@alfie.demon.co.uk  http://www.alfie.demon.co.uk/
// ^ \\ | Nick.Holloway@parallax.co.uk  http://www.parallax.co.uk/~alfie/


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux