[OpenSIPS-Devel] [OpenSIPS/opensips] 51c23a: topo hiding: replace contact lumps with NOP

Razvan Crainea razvan at opensips.org
Fri Apr 21 06:09:40 EDT 2017


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 51c23aaf0b62893c01f458eea3dc65d7098ce526
      https://github.com/OpenSIPS/opensips/commit/51c23aaf0b62893c01f458eea3dc65d7098ce526
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  topo hiding: replace contact lumps with NOP

This prevents possible dangling pointers in the contact uri (changed by
the fix_nated_contact() function). Instead of deleting the lumps that
alter the contact, we replace them with a NOP and COND_FALSE.

(cherry picked from commit 4bba4d800cdb76c64c6a3b66b0849a0ff1eb90a2)


  Commit: 23a9a746760ef7074ac5ae674007c0f1c09afe69
      https://github.com/OpenSIPS/opensips/commit/23a9a746760ef7074ac5ae674007c0f1c09afe69
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/dialog/dlg_hash.c

  Log Message:
  -----------
  dialog: split contact and route_set buffers

This allows changing each of the contact/route set individually

(cherry picked from commit 3371f80cdbc6b6ac05e8c88756239a306a21d580)


  Commit: 29367735acaca27ea321eb98924725b59e292a29
      https://github.com/OpenSIPS/opensips/commit/29367735acaca27ea321eb98924725b59e292a29
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: update contact at the end of initial req processing

This makes the fix_nated_contact() changes visible throughout the entire
processing of the initial request.

(cherry picked from commit df59d0dcf595c0fe4538b873ee0c113891a0e98e)


Compare: https://github.com/OpenSIPS/opensips/compare/4f067d827723...29367735acac


More information about the Devel mailing list