/*
* Tell the network side that this request is done.
*/
- fr_worker_send_reply(worker, request, 0);
+ fr_worker_send_reply(worker, request, 1);
}
if (!worker->num_active) worker_reset_timer(worker);
proto_radius_t const *inst = talloc_get_type_abort_const(instance, proto_radius_t);
RADCLIENT *client;
+ /*
+ * The packet timed out. Tell the network side that the packet is dead.
+ */
+ if (buffer_len == 1) {
+ buffer[0] = 1;
+ return 1;
+ }
+
/*
* If the app_io encodes the packet, then we don't need
* to do that.