[OpenSIPS/opensips] e5bf14: topo hiding: replace contact lumps with NOP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] e5bf14: topo hiding: replace contact lumps with NOP

Răzvan Crainea
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e5bf141ca4d73f712af1afc380558b7d989dee67
      https://github.com/OpenSIPS/opensips/commit/e5bf141ca4d73f712af1afc380558b7d989dee67
  Author: Razvan Crainea <[hidden email]>
  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: fdff64124a40eee26c11e7dfb8ac8d3244594b3d
      https://github.com/OpenSIPS/opensips/commit/fdff64124a40eee26c11e7dfb8ac8d3244594b3d
  Author: Razvan Crainea <[hidden email]>
  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: 8089b0209c9d73333b2e0f53e796db05e2446a3a
      https://github.com/OpenSIPS/opensips/commit/8089b0209c9d73333b2e0f53e796db05e2446a3a
  Author: Razvan Crainea <[hidden email]>
  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/0f03976f2b62...8089b0209c9d
_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel