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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user