[OpenSIPS-Devel] [OpenSIPS/opensips] dab96a: Added support to fast_lock for mips and mips64el

ionutrazvanionita ionutionita at opensips.org
Wed Sep 7 15:24:30 CEST 2016


  Branch: refs/heads/siptrace-reloaded
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dab96a8cf2a00d560cbbe19091e6215096c6960a
      https://github.com/OpenSIPS/opensips/commit/dab96a8cf2a00d560cbbe19091e6215096c6960a
  Author: Daniel Knezevic <danielknezevic90 at gmail.com>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M Makefile.defs
    M fastlock.h
    M futex_lock.h

  Log Message:
  -----------
  Added support to fast_lock for mips and mips64el

Added support to detect mips32 architecture (as mips BE had been migrated to
MIP32R2 ISA) in Makefile.defs and enables fast_lock (hardware locking support)
The detection is achieved by adding a check for predefined compiler macros for
mips32 architecture (_MIPS_ISA_MIPS32, _MIPS_ARCH_MIPS32R2, _MIPS_ARCH_MIPS32).
For mips and mips64el arch specific definitions are added to enable fast_lock.
Mips and mips64el use the same assembler routines for the fast architecture
dependant locking primitives as mips2 implementation.


  Commit: 333de9854fb98db3ce703272b5489c665a192e6d
      https://github.com/OpenSIPS/opensips/commit/333de9854fb98db3ce703272b5489c665a192e6d
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h
    M modules/dialog/dlg_timer.c
    M modules/dialog/dlg_timer.h

  Log Message:
  -----------
  Reworked ReINVITE and OPTIONS pinging

Previous mechanism was going every X seconds through ALL dialogs that needed pinging
and would send ReINVITEs / OPTIONs out. In case there were many established dialogs
towards a specific destination / network, this would lead to flood protection
mechanisms getting triggered and calls getting bogusly ended.

Reworked the pinging mechanism so that it works more similar to the SIP session timers.
Each call will get pinged on fixed intervals based after the 200OK is received, based
on the configured options_ping_interval or reinvite_ping_interval parameters.


  Commit: 7c800faf3600bad8846503c900f5fcca2c34746a
      https://github.com/OpenSIPS/opensips/commit/7c800faf3600bad8846503c900f5fcca2c34746a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c

  Log Message:
  -----------
  fraud_detection: Fix bad script retcode for check_fraud()

Thanks to Freenex on IRC for fixing and testing


  Commit: 4ec02f96f70b44e1b1d43a3aa72756ccffa5c687
      https://github.com/OpenSIPS/opensips/commit/4ec02f96f70b44e1b1d43a3aa72756ccffa5c687
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/acc/acc.c
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: fix compile unitialized warning

acc_logic: initialize the variable, even though cannot be used
acc: make sure extra_len is initialized even if no ctx is used


  Commit: d15ef42caf171de607a20c7311f97f72ae71b809
      https://github.com/OpenSIPS/opensips/commit/d15ef42caf171de607a20c7311f97f72ae71b809
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  debian packaging: remove non-existent dependency

replace dependency of db4.6-util to db-util (>= 4.6.19) for new Debian
versions
reported by Julián Moreno Patiño


  Commit: 701b8bb486477fa764ff80ff3fcef63998999176
      https://github.com/OpenSIPS/opensips/commit/701b8bb486477fa764ff80ff3fcef63998999176
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/mangler/mangler.c
    M modules/mangler/sdp_mangler.c
    M modules/mangler/sdp_mangler.h
    M modules/regex/regex_mod.c

  Log Message:
  -----------
  fix expresion - expression typo


  Commit: e6cd24f4c282d3641bb4109a2db79ca88bbde2ee
      https://github.com/OpenSIPS/opensips/commit/e6cd24f4c282d3641bb4109a2db79ca88bbde2ee
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/httpd/httpd_proc.c

  Log Message:
  -----------
  httpd: use newer API of libmicrohttpd

For new versions of libmicrohttpd, use MHD_create_response_from_buffer instead
of deprecated MHD_create_response_from_data


  Commit: 25c501cf24f6c3ba7001d3f2743cbfb6fe1b2d8f
      https://github.com/OpenSIPS/opensips/commit/25c501cf24f6c3ba7001d3f2743cbfb6fe1b2d8f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  packaging/debian: use newer version for libmicrohttpd


  Commit: bff7a8e8cda0ca41ad628105ea5170dd47a36c68
      https://github.com/OpenSIPS/opensips/commit/bff7a8e8cda0ca41ad628105ea5170dd47a36c68
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M Makefile
    R packaging/debian/changelog
    A packaging/debian/common/changelog
    A packaging/debian/common/compat
    A packaging/debian/common/control
    A packaging/debian/common/copyright
    A packaging/debian/common/opensips.README.Debian
    A packaging/debian/common/opensips.default
    A packaging/debian/common/opensips.examples
    A packaging/debian/common/opensips.init
    A packaging/debian/common/opensips.lintian-overrides
    A packaging/debian/common/opensips.manpages
    A packaging/debian/common/opensips.postinst
    A packaging/debian/common/opensips.service
    A packaging/debian/common/opensips.tmpfile
    A packaging/debian/common/rules
    A packaging/debian/common/source/format
    A packaging/debian/common/watch
    R packaging/debian/compat
    R packaging/debian/control
    R packaging/debian/copyright
    R packaging/debian/opensips.README.Debian
    R packaging/debian/opensips.default
    R packaging/debian/opensips.examples
    R packaging/debian/opensips.init
    R packaging/debian/opensips.lintian-overrides
    R packaging/debian/opensips.manpages
    R packaging/debian/opensips.postinst
    R packaging/debian/opensips.service
    R packaging/debian/opensips.tmpfile
    R packaging/debian/rules
    R packaging/debian/source/format
    R packaging/debian/watch

  Log Message:
  -----------
  packaging/debian: move all current files in a common directory


  Commit: c72bdb65a44da551a9413833093b9b9532ab00ff
      https://github.com/OpenSIPS/opensips/commit/c72bdb65a44da551a9413833093b9b9532ab00ff
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/db_virtual/dbase.c

  Log Message:
  -----------
  [db_virtual] check if backend exports async function


  Commit: b0787fecf23ee728aa327a7330e5294f77055651
      https://github.com/OpenSIPS/opensips/commit/b0787fecf23ee728aa327a7330e5294f77055651
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/proto_hep/hep.c
    M modules/proto_hep/hep.h
    M modules/proto_hep/hep_cb.c
    M modules/proto_hep/hep_cb.h
    M modules/proto_hep/proto_hep.c
    M modules/sipcapture/sipcapture.c
    M modules/siptrace/siptrace.c
    M modules/siptrace/siptrace.h
    A trace_api.c
    A trace_api.h

  Log Message:
  -----------
  Define generic tracing api and proto_hep implementation

	A new api has been defined in OpenSIPS core which
provides functions for doing complex message tracing. Currently,
the only module implementing this api is proto_hep which provides
functions for HEP protocol.
	The new api provides functions for creating a tracing
message, adding data to the message, sending the message and
fetching destination structure info.
	The old api that was defined in proto_hep is still there
but provides only the functionality used by sipcapture module,
the callback registration function for received hep messages and
the context position getter function which gives you the index
where the hep context is being held. The rest of the functions
are now being implemented by the generic api in core.
	What is more, siptrace module uses the core tracing api
to send it's messages, having now more flexibility than ever.


Compare: https://github.com/OpenSIPS/opensips/compare/3907999ee55b...b0787fecf23e


More information about the Devel mailing list