GIT Log for 2011-04-29 23:33 GMT
commit 058bc1d7898b21d06f894db23738e01e2a8e6d61 Author: Alan T. DeKok <aland@freeradius.org> Date: Fri Apr 29 13:17:24 2011 +0200 Update timers in slightly different place Files changed: src/main/process.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) ====================================================================== commit 10307f6eb5e0f17170bd511ca3102a18b74ad0b3 Author: Alan T. DeKok <aland@freeradius.org> Date: Fri Apr 29 13:16:01 2011 +0200 Move packet IP/ID handling to rbtrees Apparently bug #35 is caused by the hash table used to track IPs and IDs. It's too difficult to figure out what the heck is wrong with the hash table. However, replacing it with a red-black tree avoids the problem entirely. Files changed: src/lib/packet.c | 39 +++++++++++++++++---------------------- 1 files changed, 17 insertions(+), 22 deletions(-) ====================================================================== commit 6554c3178485d4f416e612b6a5b113f820291567 Author: Alan T. DeKok <aland@freeradius.org> Date: Fri Apr 29 13:12:12 2011 +0200 More and better sanity checks Files changed: src/main/threads.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) ====================================================================== commit 60e6420ba180d84e89907c67a867efb446ccf394 Author: Alan T. DeKok <aland@freeradius.org> Date: Fri Apr 29 13:09:27 2011 +0200 Fix edge condition Files changed: src/lib/fifo.c | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) ====================================================================== commit 079ebb2844c2775e8e28e4fc6ca47cc3e61770b1 Author: Alan T. DeKok <aland@freeradius.org> Date: Fri Apr 29 12:17:07 2011 +0200 Be slightly more careful about conflicting packets There are race conditions where the child thread sends a reply, and the master thread receives the "next" packet before the child thread has marked the request as DONE. In that case, don't print a message about conflicting packets. Files changed: src/main/process.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) ====================================================================== commit 8ece9ac1d220a4216d7046b8937672d7ca17c381 Author: Alan T. DeKok <aland@freeradius.org> Date: Fri Apr 29 12:16:45 2011 +0200 Don't free a NULL pointer Files changed: src/main/command.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ====================================================================== commit b3be5af65352acc510bf657da0e8f9240feff7cb Author: Alan T. DeKok <aland@freeradius.org> Date: Fri Apr 29 12:11:50 2011 +0200 Simplify statistics code Files changed: src/include/stats.h | 2 +- src/main/command.c | 20 +++++++++++--------- src/main/stats.c | 42 ++++++++++++++++++++++-------------------- 3 files changed, 34 insertions(+), 30 deletions(-) ======================================================================
participants (1)
-
aland@deployingradius.com