]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
stupid compilers
authorAlan T. DeKok <aland@freeradius.org>
Wed, 23 Aug 2017 13:04:44 +0000 (09:04 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 23 Aug 2017 13:04:44 +0000 (09:04 -0400)
src/modules/rlm_radius/TODO.md
src/modules/rlm_radius/rlm_radius_udp.c

index affc5da41bcc23c7dfe8674cc4357c0c62938d28..dafd261b14d2998830300c453fd9d8d25aa2df97 100644 (file)
@@ -156,3 +156,17 @@ just retransmit on a new connection.
 packet types.  We then need to require config for username / password,
 for Access-Request, and just username for Accounting-Request.
 
+* fix fork
+
+    fork server.packet-type {
+        &foo += &parent:bar
+    }
+
+* fork is an 'update' section that also runs a new virtual server.  A
+  little weird, but it should work.
+
+* needs helper functions in virtual_server.c to do it.. and to create
+  child REQUEST async stuff with listen, protocol handler, etc.
+
+* fork also needs to do this sanity check on compile, so that it knows
+  it can dereference things which exist...
\ No newline at end of file
index 911ad459649ef13aeb497a58006b4ea0b7d591f4..21f3ae049e08cb0f01e0ec7f52e96ee7ea4e0ac6 100644 (file)
@@ -951,7 +951,7 @@ static void response_timeout(UNUSED fr_event_list_t *el, struct timeval *now, vo
               fr_packet_codes[u->code], u->rr->id, u->packet_len, c->name);
        rdebug_pair_list(L_DBG_LVL_2, request, request->packet->vps, NULL);
        if (u->extra) rdebug_pair_list(L_DBG_LVL_2, request, u->extra, NULL);
-       if (u->manual_delay_time) {
+       if (u->manual_delay_time && m->acct_delay_time) {
                uint32_t delay;
 
                memcpy(&delay, u->acct_delay_time, 4);