func_curl: Don't hold exclusive lock when performing HTTP request.
authorJoshua Colp <jcolp@digium.com>
Sat, 14 Mar 2015 02:01:12 +0000 (02:01 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 14 Mar 2015 02:01:12 +0000 (02:01 +0000)
commit0d52907d2b9147fb10d4d06edc9bb28169795ea7
tree463b0e6b18fd3c3b40d6869cf342d75f51e17deb
parentac1214d9d4412d1bae3a2596716a41688953dc30
func_curl: Don't hold exclusive lock when performing HTTP request.

This code originally kept a lock held when performing the HTTP
request to ensure that the options provided to curl remain valid.
This doesn't seem to be necessary these days and holding the lock
caused requests to happen sequentially instead of in parallel.

ASTERISK-18708 #close
Reported by: Dave Cabot
........

Merged revisions 432948 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 432949 from http://svn.asterisk.org/svn/asterisk/branches/13

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