[OpenSIPS-Devel] [OpenSIPS/opensips] 77a2b8: clusterer: Add api.send_all_having() function

Liviu Chircu liviu at opensips.org
Thu Mar 22 11:12:48 EDT 2018


  Branch: refs/heads/feature/usrloc-clustering
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 77a2b855f359195e2a130ca7cbfa91225ceaec74
      https://github.com/OpenSIPS/opensips/commit/77a2b855f359195e2a130ca7cbfa91225ceaec74
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-22 (Thu, 22 Mar 2018)

  Changed paths:
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c

  Log Message:
  -----------
  clusterer: Add api.send_all_having() function

The idea is to be able to broadcast a message within a cluster
while skipping nodes which do not match a given node filter.


  Commit: e75fe045420231858962307e659e9267f6ec25bc
      https://github.com/OpenSIPS/opensips/commit/e75fe045420231858962307e659e9267f6ec25bc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-22 (Thu, 22 Mar 2018)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/node_info.h

  Log Message:
  -----------
  Minor code improvements

    * fix redundant write ops in get_cluster() / get_node()
    * zeroize the API, just in case
    * fix ambiguous var name
    * use static where needed


Compare: https://github.com/OpenSIPS/opensips/compare/8ca2e0cf4417...e75fe0454202


More information about the Devel mailing list