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

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


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





More information about the Devel mailing list