1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 16:23:13 +02:00

- Fixed "quickly-rehashing + autoconnect linkblocks = crash"-bug. This involved fixing

multiple reference count bugs, one related to sptr->serv->conf, and another one related
  to sptr->serv->class. Both caused problems when someone did a /rehash when a server
  was in the process of connecting (so it might also happen when connfreq was hit and you
  did a /rehash). Original bug was reported by sh0 (#0001872).
This commit is contained in:
Bram Matthys
2004-06-25 23:50:08 +00:00
parent af3c66dea5
commit 5877a32b3b
9 changed files with 98 additions and 29 deletions
+3
View File
@@ -1060,6 +1060,9 @@ struct _configitem_class {
ConfigFlag flag;
char *name;
int pingfreq, connfreq, maxclients, sendq, recvq, clients;
int xrefcount; /* EXTRA reference count, 'clients' also acts as a reference count but
* link blocks also refer to classes so a 2nd ref. count was needed.
*/
};
struct _configflag_allow {