11 Apr
2016
11 Apr
'16
8:01 p.m.
So you are adding code to it and then its crashing?
On Apr 10, 2016, at 10:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Any ideas?
On Saturday, April 9, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com>> wrote: Hey guys, if I'm using curl in a module and the connection times out do you have suggestion for how this should be handled?
For example, if I disconnect freeswitch from the internet and have the following settings:
curl_easy_setopt(curl_handle, CURLOPT_CONNECTTIMEOUT, 5L); curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 5L); switch_curl_easy_setopt(curl_handle, CURLOPT_NOSIGNAL, 1L);
it never times out and then crashes freeswitch. Is this expected behavior? Is there something I should be doing instead? Thanks, chris