[OpenSIPS-Devel] [OpenSIPS/opensips] 4c9300: b2b_entities: allow enforcing the Max-Forwards value

Vlad Pătrașcu noreply at github.com
Thu Jun 23 17:56:20 UTC 2022


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4c9300cc23a9facd8a35d1699f80e7fd40064dcb
      https://github.com/OpenSIPS/opensips/commit/4c9300cc23a9facd8a35d1699f80e7fd40064dcb
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M modules/b2b_entities/b2be_load.h
    M modules/b2b_entities/client.c
    M modules/b2b_entities/client.h
    M modules/b2b_entities/dlg.c
    M modules/b2b_entities/dlg.h
    M modules/b2b_entities/server.c
    M modules/b2b_entities/server.h

  Log Message:
  -----------
  b2b_entities: allow enforcing the Max-Forwards value

Related to #2471

(cherry picked from commit 404f580026f2bb67cdacf56e1384213643a0505e)


  Commit: b204fed7b70b6a93693907874e1b063574d7f2f4
      https://github.com/OpenSIPS/opensips/commit/b204fed7b70b6a93693907874e1b063574d7f2f4
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_logic/b2b_logic.h
    M modules/b2b_logic/doc/b2b_logic_admin.xml
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: properly decrease value and pass Max-Forwrads header

This applies to requests that are effectively "passed" from one entity to its
peer.

Fixes #2471

(cherry picked from commit fa84d8d0e6cf719c0d2c7bd215fa74e5e33e1a2f)


Compare: https://github.com/OpenSIPS/opensips/compare/e45b3a39c523...b204fed7b70b



More information about the Devel mailing list