[OpenSIPS-Devel] [OpenSIPS/opensips] 208fc5: rest_client: Add a mechanism for system outage pre...

Liviu Chircu noreply at github.com
Fri Jul 15 19:05:01 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 208fc5e4d545660c509150baf5f356c1bf43cdb4
      https://github.com/OpenSIPS/opensips/commit/208fc5e4d545660c509150baf5f356c1bf43cdb4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-07-15 (Fri, 15 Jul 2022)

  Changed paths:
    M modules/rest_client/doc/rest_client_admin.xml
    M modules/rest_client/doc/rest_return_codes.xml
    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 a mechanism for system outage prevention

In some cases where all SIP workers query the same RESTful service, an
OpenSIPS system can be made entirely unresponsive should the RESTful
service ever go down or begin to fully drop packets (e.g. ratelimiting).

New modparams "no_concurrent_connects" and "curl_conn_lifetime" have
been added to aid in these scenarios.

Many thanks to VoiceINC for sponsoring this feature!





More information about the Devel mailing list