28 Nov
2005
28 Nov
'05
3:49 p.m.
Alan DeKok wrote:
Joe Maimon <jmaimon@ttec.com> wrote: ...
The simple solution, I think, is to delete the assertion that "request->listener == listener". This fails after a HUP, when the listener is re-allocated.
My issue happened well after any HUPS were sent.
Hmm... this highlights a serious bug. The listener should NEVER be re-allocated, because it's being pointed to from live requests.
Hours after a hup? Or should listeners contain a reference count?
Therefore, the code in listen.c shouldn't allocate a new listener, but should instead yank the old one from the old list.
Except if the listen configuration changes.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html