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

Function w_lb_reset

modules/load_balancer/load_balancer.c:609–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607
608
609static int w_lb_reset(struct sip_msg *req)
610{
611 int ret;
612
613 lock_start_read(ref_lock);
614
615 /* do lb */
616 ret = do_lb_reset(req, *curr_data);
617
618 lock_stop_read(ref_lock);
619
620 if( ret < 0 )
621 return ret;
622 return 1;
623}
624
625
626static int w_lb_is_started(struct sip_msg *req)

Callers

nothing calls this directly

Calls 1

do_lb_resetFunction · 0.85

Tested by

no test coverage detected