]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Add missing CURLOPT_NOSIGNAL options
authorTravis Cross <tc@traviscross.com>
Mon, 22 Sep 2014 23:41:47 +0000 (23:41 +0000)
committerTravis Cross <tc@traviscross.com>
Tue, 23 Sep 2014 00:04:21 +0000 (00:04 +0000)
commit0cc7bc8db62b4abf099e6d92fe0c577010e3bce4
tree2b7e911e6b454272fc3a59035cf1e056c65a2b02
parent1bb0b8e16d114f943e02101230bf8b6517b9c1f4
Add missing CURLOPT_NOSIGNAL options

To work correctly in a multi-threaded environment, curl needs to be
used with CURLOPT_NOSIGNAL set to 1.  If it's left at zero, the
default, then curl will use signals to deal with timeouts which will
often result in a crash.

ref: http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading
ref: http://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html
ref: http://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame
ref: https://bugzilla.redhat.com/show_bug.cgi?id=539809
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570436
src/mod/applications/mod_snom/mod_snom.c
src/mod/languages/mod_v8/src/fsglobal.cpp