Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7fdf3d488f71e95c5bc0bfd909a635faca323911
      
https://github.com/OpenSIPS/opensips/commit/7fdf3d488f71e95c5bc0bfd909a635faca323911
  Author: Liviu Chircu <li...@opensips.org>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M modules/dialog/dlg_cb.h
    M modules/fraud_detection/fraud_detection.c

  Log Message:
  -----------
  fraud_detection: Improve accuracy for 'concurrent calls'

Avoid using the DLGCB_FAILED callback, since it has no protection
against the "408 Request Timeout / 200 OK" race condition, and simply
use DLGCB_DESTROY in order to decrement the concurrent calls counter.

This fixes a bug where a "408 Timeout / 200 OK" call would cause a
concurrent calls value of 4294967295, due to an extra decrement.

Fixes #2079

(cherry picked from commit 2404b96c87982387071cea63f5fc42d9169d8798)



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to