X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn.c;h=dccdb6a606cae7186a090345262b9f153a825344;hp=e7a7e3b1358b88729e5b2a81b1fd1fb2133eb5ed;hb=c0a571400262b736edff2cd2c9fd288dcf00e284;hpb=9793b3005232fe5280f1b7ddb4655317aaada6f6 diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index e7a7e3b1..dccdb6a6 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -9,11 +9,17 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: conn.c,v 1.15 2001/12/27 16:35:04 alex Exp $ + * $Id: conn.c,v 1.17 2001/12/29 03:06:16 alex Exp $ * * connect.h: Verwaltung aller Netz-Verbindungen ("connections") * * $Log: conn.c,v $ + * Revision 1.17 2001/12/29 03:06:16 alex + * - Loglevel (nochmal) angepasst. + * + * Revision 1.16 2001/12/27 19:32:44 alex + * - bei "Null-Requests" wird nichts mehr geloggt. Uberfluessig, da normal. + * * Revision 1.15 2001/12/27 16:35:04 alex * - vergessene Variable bei Ping-Timeout-Logmeldung ergaenzt. Opsa. * @@ -638,7 +644,6 @@ LOCAL VOID Handle_Buffer( CONN_ID Idx ) /* Es wurde ein Request gelesen */ if( ! Parse_Request( Idx, My_Connections[Idx].rbuf )) return; } - else Log( LOG_DEBUG, "Got null-request (connection %d).", Idx ); /* Puffer anpassen */ My_Connections[Idx].rdatalen -= len; @@ -663,7 +668,7 @@ LOCAL VOID Check_Connections( VOID ) if( My_Connections[i].lastping < time( NULL ) - Conf_PongTimeout ) { /* Timeout */ - Log( LOG_NOTICE, "Connection %d: Ping timeout.", i ); + Log( LOG_INFO, "Connection %d: Ping timeout.", i ); Conn_Close( i, "Ping timeout" ); } }