Open QuanZag opened 1 year ago
平台:window10 工具:VS2017
Curl:7.75.0 Sdk:1.9.0
代码:
std::shared_ptr<std::iostream> content = std::make_shared<std::fstream>(local_path, std::ios::in | std::ios::binary); AlibabaCloud::OSS::PutObjectRequest oss_request(Magics::aliyun_oss_bucket_name_, oss_path, content); auto outcome = client.PutObject(oss_request); if (!outcome.isSuccess()) { }
偶然会出现这样的错误: outcome的code为ClientError:200001 outcome的Msg为Unsupported protocol.Received HTTP/0.9 when not allowed
因为是偶发的问题,确实是没有头绪,究竟是客户端的问题还是OSS API的问题?
平台:window10 工具:VS2017
Curl:7.75.0 Sdk:1.9.0
代码:
偶然会出现这样的错误: outcome的code为ClientError:200001 outcome的Msg为Unsupported protocol.Received HTTP/0.9 when not allowed
因为是偶发的问题,确实是没有头绪,究竟是客户端的问题还是OSS API的问题?