mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-16 01:07:11 +00:00
Changes codes
1) Changed debug message level Changes a level and format for a debugging message about parallel multipart upload in curl.cpp git-svn-id: http://s3fs.googlecode.com/svn/trunk@487 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
parent
3ba40a30cd
commit
a6884f1c3a
@ -2875,7 +2875,7 @@ int S3fsMultiCurl::MultiRead(void)
|
|||||||
|
|
||||||
if(s3fscurl){
|
if(s3fscurl){
|
||||||
if(CURLE_OK == msg->data.result){
|
if(CURLE_OK == msg->data.result){
|
||||||
long responseCode;
|
long responseCode = -1;
|
||||||
if(s3fscurl->GetResponseCode(responseCode) && 400 > responseCode){
|
if(s3fscurl->GetResponseCode(responseCode) && 400 > responseCode){
|
||||||
// add into stat cache
|
// add into stat cache
|
||||||
if(SuccessCallback && !SuccessCallback(s3fscurl)){
|
if(SuccessCallback && !SuccessCallback(s3fscurl)){
|
||||||
@ -2883,7 +2883,7 @@ int S3fsMultiCurl::MultiRead(void)
|
|||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
// This case is directory object("dir", "non dir object", "_$folder$", etc)
|
// This case is directory object("dir", "non dir object", "_$folder$", etc)
|
||||||
DPRNINFO("failed a request(%s)", s3fscurl->base_path.c_str());
|
DPRNNN("failed a request(%ld: %s)", responseCode, s3fscurl->base_path.c_str());
|
||||||
}
|
}
|
||||||
cMap_req.erase(hCurl);
|
cMap_req.erase(hCurl);
|
||||||
curl_multi_remove_handle(hMulti, hCurl);
|
curl_multi_remove_handle(hMulti, hCurl);
|
||||||
|
Loading…
Reference in New Issue
Block a user