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

Răzvan Crainea noreply at github.com
Wed May 29 05:27:52 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c90d251cef30fb6a991b859652a3ba7bcb32c37c
      https://github.com/OpenSIPS/opensips/commit/c90d251cef30fb6a991b859652a3ba7bcb32c37c
  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





More information about the Devel mailing list