Merge commit '5947769812369a7988a7f1db30df79e6fc0e4787'

Adds important commits from llwebprofile branch
into master which need to go into the next release.
This commit is contained in:
Aleric Inglewood
2012-12-05 22:27:21 +01:00
22 changed files with 1074 additions and 89 deletions

View File

@@ -2172,6 +2172,12 @@ void BufferedCurlEasyRequest::setStatusAndReason(U32 status, std::string const&
mStatus = status;
mReason = reason;
AICurlInterface::Stats::status_count[AICurlInterface::Stats::status2index(mStatus)]++;
// Sanity check. If the server replies with a redirect status then we better have that option turned on!
if ((status >= 300 && status < 400) && mResponder && !mResponder->followRedir())
{
llerrs << "Received " << status << " (" << reason << ") for responder \"" << mTimeoutPolicy->name() << "\" which has no followRedir()!" << llendl;
}
}
void BufferedCurlEasyRequest::processOutput(void)