tencent cloud

Cloud Object Storage

C SDK

下载
聚焦模式
字号
最后更新时间: 2024-02-01 18:01:21

How do I implement checkpoint restart with C SDK?

You can use the advanced upload API of C SDK to implement the checkpoint restart feature. To use checkpoint restart, you need to set the upload control parameter to COS_TRUE, for example, clt_params = cos_create_resumable_clt_params_content(p, 0, 1, COS_TRUE, NULL).

Why does the HttpIOError error occur when I use C SDK?

Error description: When you use the SDK, all APIs cannot be used or return requestid. By analyzing the captured packets, you find that no HTTP requests are sent successfully as shown in the following logs:
transport failure curl code:1 error:Unsupported protocol
status->code: -996
status->error_code: HttpIoError
status->error_msg: Unsupported protocol
status->req_id:
This error occurs because the HTTPS protocol is used, but the libcurl library doesn't support HTTPS. Therefore, the OpenSSL library is not used or the versions mismatch during libcurl compilation. Solution: Check the running environment and reinstall the libcurl library (if you install it by compiling the source code, enable SSL) or update the OpenSSL library.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈