[OpenSIPS-Devel] [OpenSIPS/opensips] 8342f3: rest_client: Improve async() handling in "delayed ...
Liviu Chircu
noreply at github.com
Mon Mar 6 20:15:51 UTC 2023
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: 8342f35b80817065ddfb8e1fc7e3042a766eb465
https://github.com/OpenSIPS/opensips/commit/8342f35b80817065ddfb8e1fc7e3042a766eb465
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.
(cherry picked from commit 532d8e83726f96f8e8d2c493a1e7cb0f54615869)
More information about the Devel
mailing list