Skip to content

Commit

Permalink
Merge pull request OSGeo#5319 from julienr/read-multi-range-failure-s…
Browse files Browse the repository at this point in the history
…how-response-code

VSICurl: Print response code for failed range requests
  • Loading branch information
rouault authored Feb 16, 2022
2 parents fe76569 + dc3ab0a commit 1a63bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion port/cpl_vsil_curl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ int VSICurlHandle::ReadMultiRange( int const nRanges, void ** const ppData,
asWriteFuncHeaderData[iReq].nEndOffset);

CPLError(CE_Failure, CPLE_AppDefined,
"Request for %s failed", rangeStr);
"Request for %s failed with response_code=%ld", rangeStr, response_code);
nRet = -1;
}
else if( nRet == 0 )
Expand Down

0 comments on commit 1a63bc5

Please sign in to comment.