curl-library
答复: curl_easy_perform block and do not return
Date: Fri, 4 Jan 2019 01:41:17 +0000
yes I set timeout by
curl_easy_setopt(m_curl, CURLOPT_CONNECTTIMEOUT_MS, 2000);
curl_easy_setopt(m_curl, CURLOPT_TIMEOUT_MS, 5000);
________________________________
发件人: Daniel Stenberg <daniel_at_haxx.se>
发送时间: 2019年1月4日 8:01
收件人: z zh via curl-library
抄送: z zh
主题: Re: curl_easy_perform block and do not return
On Wed, 2 Jan 2019, z zh via curl-library wrote:
> i use libcurl to post some messages to server on windows, but In very
> few case the "curl_easy_perform" function can not return. When I dump the
> exe and debug it , I find the stack is like:
...
> Is there any way to solve this problem?
Set a timeout of some sort?
--
/ daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-04