MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / w_lb_disable_dst

Function w_lb_disable_dst

modules/load_balancer/load_balancer.c:639–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637
638
639static int w_lb_disable_dst(struct sip_msg *req)
640{
641 int ret;
642
643 lock_start_read(ref_lock);
644
645 /* do lb */
646 ret = do_lb_disable_dst(req, *curr_data, lb_prob_verbose);
647
648 lock_stop_read(ref_lock);
649
650 if( ret < 0 )
651 return ret;
652 return 1;
653}
654
655
656static int w_lb_is_dst(struct sip_msg *msg,str *ip,int *port,int *group,

Callers

nothing calls this directly

Calls 1

do_lb_disable_dstFunction · 0.85

Tested by

no test coverage detected