Reduce braces spam
parent
05d02a8fff
commit
7cf7400cfe
|
|
@ -433,7 +433,7 @@ bool HttpLibcurl::completeRequest(CURLM * multi_handle, CURL * handle, CURLcode
|
||||||
if (!bFailed && (op->mReqOffset || op->mReqLength))
|
if (!bFailed && (op->mReqOffset || op->mReqLength))
|
||||||
{
|
{
|
||||||
// We should only check the offset and length if we are handling a partial content request.
|
// We should only check the offset and length if we are handling a partial content request.
|
||||||
if ((op->mStatus == HttpStatus(HTTP_PARTIAL_CONTENT)) && ((op->mReqOffset != op->mReplyOffset) || (op->mReqLength && op->mReqLength < op->mReplyLength)))
|
if (op->mStatus == HttpStatus(HTTP_PARTIAL_CONTENT) && (op->mReqOffset != op->mReplyOffset || (op->mReqLength && op->mReqLength < op->mReplyLength)))
|
||||||
{
|
{
|
||||||
std::stringstream strm;
|
std::stringstream strm;
|
||||||
strm << "HTTP pipelining possibly out of sync, request wanted: " << op->mReqOffset << "-";
|
strm << "HTTP pipelining possibly out of sync, request wanted: " << op->mReqOffset << "-";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue