Navigation


Changeset 1216:581bbd48524a in freeDiameter for extensions/rt_load_balance


Ignore:
Timestamp:
Jun 19, 2013, 11:03:24 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Children:
1217:3f7c74ef3787, 1218:152466ff49f8
Phase:
public
Message:

Change prototype of rt_out callbacks to allow disposal of messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rt_load_balance/rt_load_balance.c

    r1043 r1216  
    3737
    3838/* The callback for load balancing the requests across the peers */
    39 static int rt_load_balancing(void * cbdata, struct msg * msg, struct fd_list * candidates)
     39static int rt_load_balancing(void * cbdata, struct msg ** pmsg, struct fd_list * candidates)
    4040{
    4141        struct fd_list *lic;
     42        struct msg * msg = *pmsg;
    4243       
    4344        TRACE_ENTRY("%p %p %p", cbdata, msg, candidates);
Note: See TracChangeset for help on using the changeset viewer.