<div dir="ltr">Thanks for responding. Yes - I make sure it's not connected to the internet and run my module with the curl functions. I'd expect it to time out or something, but instead it's crashing freeswitch. </div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 11, 2016 at 4:01 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">So you are adding code to it and then its crashing?<span class=""><div><br><div><blockquote type="cite"><div>On Apr 10, 2016, at 10:47 PM, Chris Mandra <<a href="mailto:mandra@gmail.com" target="_blank">mandra@gmail.com</a>> wrote:</div><br><div>Any ideas?<br><br>On Saturday, April 9, 2016, Chris Mandra <<a href="mailto:mandra@gmail.com" target="_blank">mandra@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?<br><br>For example, if I disconnect freeswitch from the internet and have the following settings:<br><br><br>curl_easy_setopt(curl_handle, CURLOPT_CONNECTTIMEOUT, 5L);<br>curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 5L);<br>switch_curl_easy_setopt(curl_handle, CURLOPT_NOSIGNAL, 1L);<br><br>it never times out and then crashes freeswitch. Is this expected behavior?<div>Is there something I should be doing instead?<br>Thanks, chris<br></div></div></blockquote></div></blockquote></div><br></div></span></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">mandra<br>c:410.258.5281</div>
</div>