From: Alan T. DeKok Date: Fri, 25 Aug 2017 13:48:31 +0000 (-0400) Subject: don't check for messages which age out of the queue X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5bbc6815244ec17f2b7e70bbaf9e53050ab4a4d;p=thirdparty%2Ffreeradius-server.git don't check for messages which age out of the queue 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 --- diff --git a/src/lib/io/worker.c b/src/lib/io/worker.c index 7372de70a05..608854056e9 100644 --- a/src/lib/io/worker.c +++ b/src/lib/io/worker.c @@ -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);