tencent cloud

All product documents
Cloud Object Storage
Last updated: 2024-02-01 18:01:21
C SDK
Last updated: 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.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon