[OpenSIPS-Devel] [OpenSIPS/opensips] 85c952: cgrates: handle inter-mixing of requests and events

Răzvan Crainea noreply at github.com
Wed May 29 11:04:00 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 85c95231c4a9434f4e0d84a47353c504b63a7035
      https://github.com/OpenSIPS/opensips/commit/85c95231c4a9434f4e0d84a47353c504b63a7035
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-05-29 (Wed, 29 May 2019)

  Changed paths:
    M modules/cgrates/cgrates_common.c

  Log Message:
  -----------
  cgrates: handle inter-mixing of requests and events

In case when OpenSIPS sends a request, but before receiving the reply on
the same connection, it receives an event, we need to make sure the
reply is not marked as completed.
Before this fix, when the actual reply was coming back, we no longer had
a reply handler, therefore OpenSIPS was crashing.

Reported by Vasilios Tzanoudakis (vtzan on GitHub) in ticket #1713

(cherry picked from commit c90d251cef30fb6a991b859652a3ba7bcb32c37c)


  Commit: 121618821fbf27907d6cf948e67fb760f23aa241
      https://github.com/OpenSIPS/opensips/commit/121618821fbf27907d6cf948e67fb760f23aa241
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-05-29 (Wed, 29 May 2019)

  Changed paths:
    M modules/cgrates/cgrates_common.c

  Log Message:
  -----------
  cgrates: fix resuming function for cgrates_cmd()

Reported by Vasilios Tzanoudakis  #1713

(cherry picked from commit 80ec779e004fd69f343a56deab18c98c1e3079f3)


Compare: https://github.com/OpenSIPS/opensips/compare/71983858d356...121618821fbf



More information about the Devel mailing list