Make new request_list_t structure, and return it from rl_init(),
authoraland <aland>
Thu, 26 May 2005 20:47:10 +0000 (20:47 +0000)
committeraland <aland>
Thu, 26 May 2005 20:47:10 +0000 (20:47 +0000)
commitf767b01a074db8d7dee4f3bdbbf3af17851c0084
tree7157eb0514173959461ef0878e7682ea89e845c9
parentea7c03029759f79270d7cabdf5e151e3e342390c
Make new request_list_t structure, and return it from rl_init(),
and pass it back to rl_* functions. (Except for proxies)

Cleaned up refresh_request() code, so that it doesn't do it's own
retransmits for proxied packets.  This makes the code MUCH cleaner.
The code in listen.c should be updated, so that when accounting
packets are proxied, Acct-Delay-Time is updated.

New "update" function in rad_listen_t, so that once a second,
the server calls the "update" function for each listener, which
further cleans up the request_list handling.  Much less code,
and what's left is easier to understand.

So each listener has it's own request_list_t, which is nice,
and enables them to be handled later by individual threads.

Non-synchronous proxy retransmits are disabled, and removed
from proxy.conf.  Accounting packets aren't handled well
for proxying, though.  We'll need a separate "retransmit" timer
for them...
raddb/proxy.conf
src/include/radiusd.h
src/include/request_list.h
src/main/listen.c
src/main/mainconfig.c
src/main/radiusd.c
src/main/request_list.c