Skip to content

Commit

Permalink
Merge pull request #1699 from taozhiying/patch-1
Browse files Browse the repository at this point in the history
LB will always to one dst when use lb_next
(cherry picked from commit 2dd76a7)
  • Loading branch information
bogdan-iancu committed May 21, 2019
1 parent ef680f6 commit 91e9d4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/load_balancer/lb_data.c
Expand Up @@ -761,6 +761,7 @@ int lb_route(struct sip_msg *req, int group, struct lb_res_str_list *rl,
dsts_size_cur = 0;
} else if( it_l < load ) {
/* lower availability -> new iteration */
if( ++j == (8 * sizeof(unsigned int)) ) { i++; j=0; }
continue;
}

Expand Down

0 comments on commit 91e9d4d

Please sign in to comment.