[OpenSIPS-Devel] [OpenSIPS/opensips] 0c4718: Fix double tracing in trace_dialog().

Razvan Crainea razvan at opensips.org
Fri Jan 16 15:42:57 CET 2015


  Branch: refs/heads/transport-interface
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0c47186f6ca1cac85e2c50d7391259269ab7424d
      https://github.com/OpenSIPS/opensips/commit/0c47186f6ca1cac85e2c50d7391259269ab7424d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fix double tracing in trace_dialog().

If user AVPs are set and the trace flas is not, the code was forcing the tracing flag which was producing a duplicate of the trace. Now, the flags status (on/off) is also stored in the dialog (as var) and restore later, for each sequential request.

(cherry picked from commit 24ba3ed467bebc1f029e5c0627225f8d54163143)


  Commit: 1b4124de7096faed0fa547c654a35f46cfb1433d
      https://github.com/OpenSIPS/opensips/commit/1b4124de7096faed0fa547c654a35f46cfb1433d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fixes realated to previous commit (double siptrace)

(cherry picked from commit d4e81886c41e17fe259ba2ee48d6b2ce3e7eb016)


  Commit: 4b6f80f00c764cfe1ada1a7a324c8aef4f7af9e3
      https://github.com/OpenSIPS/opensips/commit/4b6f80f00c764cfe1ada1a7a324c8aef4f7af9e3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M mem/mem.h

  Log Message:
  -----------
  F_MALLOC: add extra safety checks at runtime

The F_MALLOC allocator now properly reports any free() or realloc() operations
which are performed on bogus memory regions, making OpenSIPS immediately abort.

These checks may be skipped by defining F_MALLOC_OPTIMIZATIONS at compile time.


  Commit: e88f1b6e1d8c876d77614b5c1115bb378337df1c
      https://github.com/OpenSIPS/opensips/commit/e88f1b6e1d8c876d77614b5c1115bb378337df1c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fix double tracing in trace_dialog().

If user AVPs are set and the trace flas is not, the code was forcing the tracing flag which was producing a duplicate of the trace. Now, the flags status (on/off) is also stored in the dialog (as var) and restore later, for each sequential request.

(cherry picked from commit 24ba3ed467bebc1f029e5c0627225f8d54163143)


  Commit: ad06acee7cbbc8bf6440809c13d548eeb41558fb
      https://github.com/OpenSIPS/opensips/commit/ad06acee7cbbc8bf6440809c13d548eeb41558fb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fixes realated to previous commit (double siptrace)

(cherry picked from commit d4e81886c41e17fe259ba2ee48d6b2ce3e7eb016)


  Commit: 0a9e813706656528af9d20f4377a72949c07ca28
      https://github.com/OpenSIPS/opensips/commit/0a9e813706656528af9d20f4377a72949c07ca28
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M mem/mem.h

  Log Message:
  -----------
  mem/mem.h: fix header includes


  Commit: 651f0e2e7624240a3c9a132f724cda8d4a5c9b5b
      https://github.com/OpenSIPS/opensips/commit/651f0e2e7624240a3c9a132f724cda8d4a5c9b5b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/tm/async.c

  Log Message:
  -----------
  tm: fix transaction cleanup in async scenarios

The transaction state is now saved within and restored from each async
operation. (in the _async_ctx struct)

This prevents transaction leaks when stacking up multiple async jumps.


  Commit: c3d9ceb8e28d2fea7d2760edaa488e8ea981e518
      https://github.com/OpenSIPS/opensips/commit/c3d9ceb8e28d2fea7d2760edaa488e8ea981e518
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/rest_client/rest_cb.c
    M modules/rest_client/rest_client.c
    M modules/rest_client/rest_methods.c
    M modules/rest_client/rest_methods.h

  Log Message:
  -----------
  rest_client: add optional asynchronous capabilities to rest_get()

rest_get() may now be used in an asynchronous manner, thanks to libcurl's
multi interface. Its syntax is identical to its blocking counterpart.

Scripting example:
    async(rest_get("URL", "$var(res)"), my_resume_route);


  Commit: 8e44e4d19fca218ec1fce4a57e5af68ef76eb5c4
      https://github.com/OpenSIPS/opensips/commit/8e44e4d19fca218ec1fce4a57e5af68ef76eb5c4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h
    M modules/tm/t_reply.c

  Log Message:
  -----------
  Fix handling dst_uri in cloned messages.

Thanks to Liviu for pointing out - the dst_uri, after doing a fake msg (a copy from a shm cloned msg) had the wrong dst_uri linked (one in shm mem).


  Commit: 6a648c9a30b57e18ad5a10c895107d21deb0b3f5
      https://github.com/OpenSIPS/opensips/commit/6a648c9a30b57e18ad5a10c895107d21deb0b3f5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  fix the vars db type to BLOB

Indicate the DB engine that the dlg vars column is a BLOB
Thanks go to John Nash for reporting this.
Close #398


Compare: https://github.com/OpenSIPS/opensips/compare/d49e0d3ba232...6a648c9a30b5


More information about the Devel mailing list