[Freeswitch-users] curl connect timeout question
Chris Mandra
mandra at gmail.com
Mon Apr 11 07:47:54 MSD 2016
Any ideas?
On Saturday, April 9, 2016, Chris Mandra <mandra at 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
>
> --
> mandra
>
>
--
mandra
c:410.258.5281
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160410/c2067e67/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list