diff -rc oldsrc/ChangeLog.th src/ChangeLog.th *** oldsrc/ChangeLog.th Thu Nov 14 20:30:34 1996 --- src/ChangeLog.th Fri Nov 15 23:55:19 1996 *************** *** 103,105 **** --- 103,107 ---- /links now says WHAT they were typing :) HIDE_USER_WALLOPS added Now fascist about /msg nick1,nick2,nick3... + [11.15.1996 - 5a.0a] Fixed the SendQ stuff (using FLAGS_SENDQEX) + Fixed the /trace kill -- well, kinda... diff -rc oldsrc/common/packet.c src/common/packet.c *** oldsrc/common/packet.c Tue Oct 15 23:03:18 1996 --- src/common/packet.c Fri Nov 15 23:46:37 1996 *************** *** 112,119 **** ** FLUSH_BUFFER here). - avalon */ if (cptr->flags & FLAGS_DEADSOCKET) ! return exit_client(cptr, cptr, &me, ! "Dead Socket"); #endif ch1 = cptrbuf; } --- 112,119 ---- ** FLUSH_BUFFER here). - avalon */ if (cptr->flags & FLAGS_DEADSOCKET) ! return exit_client(cptr, cptr, &me, (cptr->flags & FLAGS_SENDQEX) ? ! "SendQ exceeded" : "Dead socket"); #endif ch1 = cptrbuf; } diff -rc oldsrc/common/send.c src/common/send.c *** oldsrc/common/send.c Thu Nov 14 20:13:56 1996 --- src/common/send.c Fri Nov 15 23:46:38 1996 *************** *** 139,150 **** sendto_ops("Max SendQ limit exceeded for %s: %d > %d", get_client_name(to, FALSE), DBufLength(&to->sendQ), get_sendq(to)); ! if (IsClient(to)) { ! to->flags |= FLAGS_DEADSOCKET; ! DBufClear(&to->recvQ); ! DBufClear(&to->sendQ); ! return exit_client(NULL, to, &me, "Max Sendq exceeded"); ! } return dead_link(to, "Max Sendq exceeded"); } # endif --- 139,146 ---- sendto_ops("Max SendQ limit exceeded for %s: %d > %d", get_client_name(to, FALSE), DBufLength(&to->sendQ), get_sendq(to)); ! if (IsClient(to)) ! to->flags |= FLAGS_SENDQEX; return dead_link(to, "Max Sendq exceeded"); } # endif diff -rc oldsrc/include/patchlevel.h src/include/patchlevel.h *** oldsrc/include/patchlevel.h Thu Nov 14 16:15:16 1996 --- src/include/patchlevel.h Fri Nov 15 16:38:53 1996 *************** *** 17,21 **** */ #ifndef PATCHLEVEL ! #define PATCHLEVEL "2.8/th.v5a.0" #endif --- 17,21 ---- */ #ifndef PATCHLEVEL ! #define PATCHLEVEL "2.8/th.v5a.0a" #endif diff -rc oldsrc/include/struct.h src/include/struct.h *** oldsrc/include/struct.h Thu Oct 17 21:41:19 1996 --- src/include/struct.h Fri Nov 15 17:57:08 1996 *************** *** 183,188 **** --- 183,189 ---- #endif #define FLAGS_SPY 0x4000000 /* see STATS / LINKS */ #define FLAGS_DEBUG 0x8000000 /* 'debugging' info */ + #define FLAGS_SENDQEX 0x10000000 /* Sendq exceeded */ /* for sendto_ops_lev */ #define CCONN_LEV 1 diff -rc oldsrc/ircd/ircd.c src/ircd/ircd.c *** oldsrc/ircd/ircd.c Thu Oct 17 19:16:57 1996 --- src/ircd/ircd.c Fri Nov 15 23:48:01 1996 *************** *** 324,330 **** */ if (cptr->flags & FLAGS_DEADSOCKET) { ! (void)exit_client(cptr, cptr, &me, "Dead socket"); i = 0; continue; } --- 324,331 ---- */ if (cptr->flags & FLAGS_DEADSOCKET) { ! (void)exit_client(cptr, cptr, &me, (cptr->flags & FLAGS_SENDQEX) ? ! "SendQ exceeded" : "Dead socket"); i = 0; continue; } diff -rc oldsrc/ircd/s_bsd.c src/ircd/s_bsd.c *** oldsrc/ircd/s_bsd.c Thu Nov 14 19:35:50 1996 --- src/ircd/s_bsd.c Fri Nov 15 23:48:03 1996 *************** *** 1843,1849 **** FD_CLR(i, &read_set); } (void)exit_client(cptr, cptr, &me, ! strerror(get_sockerr(cptr))); continue; } } --- 1843,1850 ---- FD_CLR(i, &read_set); } (void)exit_client(cptr, cptr, &me, ! (cptr->flags & FLAGS_SENDQEX) ? "SendQ Exceeded" : ! strerror(get_sockerr(cptr))); continue; } } diff -rc oldsrc/ircd/s_serv.c src/ircd/s_serv.c *** oldsrc/ircd/s_serv.c Wed Nov 6 16:57:32 1996 --- src/ircd/s_serv.c Fri Nov 15 23:48:04 1996 *************** *** 2352,2358 **** * is ghosted - so kill it. * -Taner */ ! if (!MyConnect(sptr) && !(index(tname, '.'))) { if (IsClient(sptr)) sendto_realops_lev(DEBUG_LEV, "Ghost: %s, request from %s[%s@%s!%s]", tname, sptr->name, sptr->user->username, sptr->user->host, --- 2352,2358 ---- * is ghosted - so kill it. * -Taner */ ! if (!MyConnect(sptr) && !(index(tname, '.')) && !(index(tname, '*'))) { if (IsClient(sptr)) sendto_realops_lev(DEBUG_LEV, "Ghost: %s, request from %s[%s@%s!%s]", tname, sptr->name, sptr->user->username, sptr->user->host,