Commit Graph

12 Commits (1.4)

Author SHA1 Message Date
Tilghman Lesher 93ef1ee4ef Dialplan functions should not actually return 0, unless they have modified the
17 years ago
Russell Bryant 7a5caf1a57 Fix a memory leak in func_curl. Every thread that used this function leaked
17 years ago
Tilghman Lesher aa7f0bf1b2 The addition of autoservice to func_curl additionally made func_curl dependent
18 years ago
Russell Bryant f59ad2a3ed Using curl can take a substantial amount of time, so the channel should be
18 years ago
Kevin P. Fleming c2490f8e72 instead of initializing the curl library every time the CURL() function is invoked, do it only once per thread (this allows multiple calls to CURL() in the dialplan for a channel to run much more quickly, and also to re-use connections to the server) (thanks to JerJer for frequently complaining about this performance problem)
19 years ago
BJ Weschke f1b43be465 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.
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Tilghman Lesher 61d4406b69 Move CURL function from apps/ to funcs/
19 years ago