[OpenSIPS-Devel] [OpenSIPS/opensips] 84daf4: Proper reset of the sip_msg struct after each run ...

Bogdan Andrei IANCU noreply at github.com
Wed Nov 13 09:34:42 EST 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 84daf4dc4c3e7ec51ee7de58149dac5fa8567056
      https://github.com/OpenSIPS/opensips/commit/84daf4dc4c3e7ec51ee7de58149dac5fa8567056
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M parser/msg_parser.c
    M timer.c

  Log Message:
  -----------
  Proper reset of the sip_msg struct after each run of timer route.

Some cleanup of the free_sip_msg() function. This function is suppose to only free the attached content of a SIP msg, but without doing any kind of reset of the subfields.
Closes #1878

(cherry picked from commit b3dc0f7065bcf53392446fbc253dd24bb99d6bc8)


  Commit: db2719170fc4333b5beb3a8c78fa8400f6e8b00a
      https://github.com/OpenSIPS/opensips/commit/db2719170fc4333b5beb3a8c78fa8400f6e8b00a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M route.c

  Log Message:
  -----------
  Proper dummy sip msg cleanup after running startup route

(cherry picked from commit 2c1999bc8c5eb64c59a0d300ff860bdda65e639d)


  Commit: d267278f36a9cf7ef227b3855ce372701559bafb
      https://github.com/OpenSIPS/opensips/commit/d267278f36a9cf7ef227b3855ce372701559bafb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M net/trans_trace.c

  Log Message:
  -----------
  Avoid mem leak when running the check trace route for TCP.

Do proper free of the summy SIP msg after each run.

(cherry picked from commit cff73d685996ddd9a1543c4040de02b9c43fb7b5)


  Commit: 2fac233efdf631f0f2cf39094ee9114785f2402e
      https://github.com/OpenSIPS/opensips/commit/2fac233efdf631f0f2cf39094ee9114785f2402e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  Proper free and reset of dummy SIP msg after running HEP route

(cherry picked from commit 501c893894b0a71b1649786de9f5fb1f133a8239)


Compare: https://github.com/OpenSIPS/opensips/compare/1fa98a977d53...2fac233efdf6



More information about the Devel mailing list