[OpenSIPS-Devel] [OpenSIPS/opensips] 66c337: rest_client: Improve polling logic during TCP conn...
Liviu Chircu
liviu at opensips.org
Thu Sep 8 12:45:04 CEST 2016
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 66c337cc89a2b5c3e1bbd78c289371efcda21886
https://github.com/OpenSIPS/opensips/commit/66c337cc89a2b5c3e1bbd78c289371efcda21886
Author: Liviu Chircu <liviu at opensips.org>
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths:
M modules/rest_client/rest_methods.c
Log Message:
-----------
rest_client: Improve polling logic during TCP connect
The wait time suggested by curl_multi_timeout() is actually a maximum
value, rather than a minimal one (as currently implemented). By only
waiting a fraction of this time before retrying curl_multi_perform(), we
can resume operation a lot faster, and also prevent some unnecessary
timeouts.
Reported by @arovetto
Fixes #929
More information about the Devel
mailing list