diff options
| author | Dmitry Kozlov <xeb@mail.ru> | 2017-10-09 18:28:21 +0300 |
|---|---|---|
| committer | Dmitry Kozlov <xeb@mail.ru> | 2017-10-09 18:28:21 +0300 |
| commit | 92af4b9535a8d9eee6800157a72fc87572b54df9 (patch) | |
| tree | f1a9ef7f60d4814a6f0c673b7fce9f4d640c01f8 /accel-pppd/radius/auth.c | |
| parent | 2635997039354e3f992f5c2d5d18328794e2c44e (diff) | |
| download | accel-ppp-92af4b9535a8d9eee6800157a72fc87572b54df9.tar.gz accel-ppp-92af4b9535a8d9eee6800157a72fc87572b54df9.zip | |
radius: split request queue to 2 subqueues
1 - is high priority queue for Access-Request and Account-Request(Start)
2 - is low priority queue for Account-Request(Alive) and Account-Request(Stop)
This patch intended to prioritize sessions connecting requests over disconnects and interim updates.
Diffstat (limited to 'accel-pppd/radius/auth.c')
| -rw-r--r-- | accel-pppd/radius/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/radius/auth.c b/accel-pppd/radius/auth.c index fbc2fab5..b5900023 100644 --- a/accel-pppd/radius/auth.c +++ b/accel-pppd/radius/auth.c @@ -232,7 +232,7 @@ static void rad_auth_sent(struct rad_req_t *req, int res) static struct rad_req_t *rad_auth_req_alloc(struct radius_pd_t *rpd, const char *username, int (*recv)(struct rad_req_t *)) { - struct rad_req_t *req = rad_req_alloc(rpd, CODE_ACCESS_REQUEST, username); + struct rad_req_t *req = rad_req_alloc(rpd, CODE_ACCESS_REQUEST, username, 0); if (!req) return NULL; |
