[OpenSIPS-Devel] [OpenSIPS/opensips] 1ea185: rest_client: Fix handling for async timeouts
Liviu Chircu
noreply at github.com
Mon Dec 11 16:38:08 UTC 2023
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 1ea1852ed79ba4b79cba39643e1274eed509081b
https://github.com/OpenSIPS/opensips/commit/1ea1852ed79ba4b79cba39643e1274eed509081b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
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: Fix handling for async timeouts
This patch improves all rest_client async operations such that they
now correctly time out after the minimum between:
* the "rest_client.curl_timeout" modparam (seconds)
* the async() statement timeout, if any (seconds)
Credits to Bence Szigeti for helping diagnose and fix the issue
More information about the Devel
mailing list