]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_curl: Don't hold exclusive lock when performing HTTP request.
authorJoshua Colp <jcolp@digium.com>
Sat, 14 Mar 2015 01:59:31 +0000 (01:59 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 14 Mar 2015 01:59:31 +0000 (01:59 +0000)
commit15ed15bf9f434c8dbacaa6a0919172292e25a315
treef800a8c9a9a20cc2bfcad160b53d4886d4ccd487
parent067a7e53848d09b9b12f2150fad85388b71bc5e2
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

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