Merged revisions 48513 via svnmerge from
authorKevin P. Fleming <kpfleming@digium.com>
Sat, 16 Dec 2006 04:25:46 +0000 (04:25 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sat, 16 Dec 2006 04:25:46 +0000 (04:25 +0000)
commitb2bd05ee839d4b91730f9b65bd95706b582f2ae5
treed7eff11e949ec68e7e5fa35bdeffde462e20bf10
parenta61418e1df3dd8ebb582d3ed1bbf5447915b8482
Merged revisions 48513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48513 | kpfleming | 2006-12-15 22:25:09 -0600 (Fri, 15 Dec 2006) | 2 lines

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)

........

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