[OpenSIPS-Devel] [OpenSIPS/opensips] baf2cb: Revert "[tm] fix resuming aysnc jobs which initial...

Bogdan Andrei IANCU noreply at github.com
Thu Oct 8 09:35:32 UTC 2026


  Branch: refs/heads/4.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: baf2cbeb3069dbd3dc83d4264db99c362e56a83b
      https://github.com/OpenSIPS/opensips/commit/baf2cbeb3069dbd3dc83d4264db99c362e56a83b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-10-08 (Thu, 08 Oct 2026)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_reply.c

  Log Message:
  -----------
  Revert "[tm] fix resuming aysnc jobs which initially were handled in sync mode"

This reverts commit 6e0c529b4906952ce830ef4a7d6b79d5fe230a0e.
(commit contains also some WIP by mistake)


  Commit: f76eae0e0361179e73b5dd9776bdadbd9bdfeb74
      https://github.com/OpenSIPS/opensips/commit/f76eae0e0361179e73b5dd9776bdadbd9bdfeb74
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-10-08 (Thu, 08 Oct 2026)

  Changed paths:
    M modules/tm/async.c

  Log Message:
  -----------
  [tm] fix resuming aysnc jobs which initially were handled in sync mode

if an async() switches to sync mode (due to wrong route type), we use the t==NULL in the async ctx as marker to discard any furhter attempt to run a resume on this job.
Real case: async(wait_for_event()) in failure route. The waiting will be resumed in line, but the EBR subscription (already created) will generate a resume on timeout -> this must be supressed.
Reported by Nick Altmann @nikbyte

(cherry picked from commit 190f404ac731a3c07efb997cffbf28751a8d15b7)


Compare: https://github.com/OpenSIPS/opensips/compare/6e0c529b4906...f76eae0e0361

To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list