[OpenSIPS-Devel] [OpenSIPS/opensips] 7a9912: mid_registrar: Improve robustness vs. bad traffic ...

Liviu Chircu noreply at github.com
Tue May 7 19:06:17 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7a9912602aa76b2af9dbdf8632cccb8aace7b22a
      https://github.com/OpenSIPS/opensips/commit/7a9912602aa76b2af9dbdf8632cccb8aace7b22a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M lib/reg/sip_msg.c
    M lib/reg/sip_msg.h
    M modules/mid_registrar/save.c
    M parser/msg_parser.c
    M parser/msg_parser.h

  Log Message:
  -----------
  mid_registrar: Improve robustness vs. bad traffic in mode 2

In case the main registrar returns extra contacts, make sure to
correctly match the mid-registrar's *single* contact within the list,
then strip all Contacts from the 200 OK, effectively fixing it.

Thanks go to Slava Bendersky for reporting and helping troubleshoot.


  Commit: 418922f1452b5637efa1a0016e9a279ce7d6b138
      https://github.com/OpenSIPS/opensips/commit/418922f1452b5637efa1a0016e9a279ce7d6b138
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M test/test_ut.c
    M ut.h

  Log Message:
  -----------
  Optimize str_strstr(); Add some basic tests


Compare: https://github.com/OpenSIPS/opensips/compare/5e7be5626013...418922f1452b

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



More information about the Devel mailing list