[OpenSIPS-Devel] [OpenSIPS/opensips] 994e55: [load_balancer] Improve probing by sending the pro...

Bogdan Andrei IANCU noreply at github.com
Fri Sep 16 14:42:34 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 994e55cea3810dc579b70a0e4a28840f95cefd2a
      https://github.com/OpenSIPS/opensips/commit/994e55cea3810dc579b70a0e4a28840f95cefd2a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M modules/load_balancer/lb_prober.c
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  [load_balancer] Improve probing by sending the probs outside locking

Collect the data under locking, move the OPTIONs probing outside the locking, to be sure that any potential blocking on SIP level sending is not leading to lock starvation.
Simialar to 4c7a7a83f93b18eefe4de1fe13c67f9d7561e6a3 (drouting)
Related to #2438





More information about the Devel mailing list