【问题标题】:Is it possible for libcurl to return a CURLE_ABORTED_BY_CALLBACK by itself?libcurl 是否可以自己返回 CURLE_ABORTED_BY_CALLBACK ?
【发布时间】:2020-01-29 07:53:47
【问题描述】:
CURLCode code = curl_easy_perform(curl);

如果我们在 curl 回调中不返回非零值,例如 CURLOPT_XFERINFOFUNCTION 总是返回零,那么 curl_easy_perform 调用是否可能从内部返回 CURLE_ABORTED_BY_CALLBACK

【问题讨论】:

    标签: c++ c++11 curl libcurl


    【解决方案1】:

    不,如果发生这种情况,那可能是一个错误。

    【讨论】:

      猜你喜欢
      • 2015-07-19
      • 1970-01-01
      • 2019-04-02
      • 2011-12-30
      • 1970-01-01
      • 2019-02-25
      • 2020-06-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多