[OpenSIPS-Devel] [OpenSIPS/opensips] 178929: tm: prevent concurrency between different cleanup

Răzvan Crainea noreply at github.com
Thu May 9 11:26:18 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 17892979142101ef86b1d959c9300bf578ff45da
      https://github.com/OpenSIPS/opensips/commit/17892979142101ef86b1d959c9300bf578ff45da
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-05-09 (Thu, 09 May 2019)

  Changed paths:
    M modules/tm/tm.c

  Log Message:
  -----------
  tm: prevent concurrency between different cleanup

This fixes a problem that was happening when having a transaction that
wasn't fully updated, for example in a Push Nofitication scenario where
no t_relay() was made, multiple messages may have reached the
do_t_cleanup() function in parallel, both updating the transaction.

Reported by 46Labs

(cherry picked from commit deafdb7f4b474701289a8086fbf44a05e19feca6)





More information about the Devel mailing list