]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't check for messages which age out of the queue
authorAlan T. DeKok <aland@freeradius.org>
Fri, 25 Aug 2017 13:48:31 +0000 (09:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 25 Aug 2017 13:48:31 +0000 (09:48 -0400)
we're SUPPOSED to service the queue quickly.

we probably need to differentiate between the recv_time and
original_recv_time.  We do that in request->async, but not
in the channel_data_t

src/lib/io/worker.c

index 7372de70a05dae1f0c331bfe4699c56744c00bec..608854056e9f3d4b66bcdc43d94a652e66b45bda 100644 (file)
@@ -753,17 +753,6 @@ static REQUEST *fr_worker_get_request(fr_worker_t *worker, fr_time_t now)
                if (!cd) return NULL;
 
                worker->num_decoded++;
-
-               /*
-                *      This message has asynchronously aged out while it was
-                *      in the queue.  Delete it, and go get another one.
-                */
-               if (cd->request.recv_time && (cd->m.when != *cd->request.recv_time)) {
-                       DEBUG("\t%sIGNORING old message: was %zd now %zd", worker->name,
-                             *cd->request.recv_time, cd->m.when);
-                       fr_worker_nak(worker, cd, now);
-                       cd = NULL;
-               }
        } while (!cd);
 
        ctx = request = request_alloc(NULL);