[OpenSIPS-Devel] [OpenSIPS/opensips] 4a639d: launch() statement: Fix an AVP list management bug

Liviu Chircu noreply at github.com
Mon Nov 11 10:51:17 EST 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4a639db5b110de5da03e23607f0d74549a0e6087
      https://github.com/OpenSIPS/opensips/commit/4a639db5b110de5da03e23607f0d74549a0e6087
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M async.c

  Log Message:
  -----------
  launch() statement:  Fix an AVP list management bug

Whenever a launch() operation gets executed inline (thanks to some
favorable conditions), two things must happen:

    * no AVP from the message execution context should leak into the
      report route execution context

    * the AVPs from the message execution context must be restored
      after running the report route.  They _must not_ be destroyed,
      as message processing will continue afterwards!

Many thanks to Alexey Vasilyev for some valuable troubleshooting info
Fixes #1580





More information about the Devel mailing list