Some changes/fixes for func_curl. curl_global_init is only supposed to be called...
authorBJ Weschke <bweschke@btwtech.com>
Sun, 3 Sep 2006 19:07:58 +0000 (19:07 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Sun, 3 Sep 2006 19:07:58 +0000 (19:07 +0000)
commitf1b43be4650982b2c2b504434a9662c7a0826254
tree11dd3debab06741088a0ffb8ab968abc55f6d2e4
parent06b98dcc77c77d9c2c998a0f6ecfd23942741997
 Some changes/fixes for func_curl. curl_global_init is only supposed to be called once, and if it returns non-zero, we need to give up on further executions with that instance. Additionally, let's set absolute timeout values for the CURL connections to try and prevent possible Zap (and possibly other channel tech) channel lockouts.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_curl.c