commit | b7f9d126e269f3b5b7dc05e39fcf207ba86a330c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 21 02:17:45 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 21 02:17:45 2009 +0200 |
tree | 6eb340390f4304a0573b976ee36359a75bd5b49f | |
parent | 3b88d441e908ee3461bb46d00cbb6336dc98b3ee [diff] |
[MEDIUM] ensure we don't recursively call pool_gc2() A race condition exists in the hot reconfiguration code. It is theorically possible that the second signal is sent during a free() in the first list, which can cause crashes or freezes (the later have been observed). Just set up a counter to ensure we do not recurse.