[OpenSIPS-Devel] [OpenSIPS/opensips] 532d8e: rest_client: Improve async() handling in "delayed ...

Liviu Chircu noreply at github.com
Mon Mar 6 11:07:33 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 532d8e83726f96f8e8d2c493a1e7cb0f54615869
      https://github.com/OpenSIPS/opensips/commit/532d8e83726f96f8e8d2c493a1e7cb0f54615869
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

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

  Log Message:
  -----------
  rest_client: Improve async() handling in "delayed 200 OK" scenarios

In case the 200 OK reply or its body take several seconds to arrive, do
not break the loop prematurely due to a 500ms hardcoded loop timeout and
re-use the configurable "curl_timeout" modparam as loop timeout instead.





More information about the Devel mailing list