diff options
author | Rider Linden <none@none> | 2015-03-19 17:01:21 -0700 |
---|---|---|
committer | Rider Linden <none@none> | 2015-03-19 17:01:21 -0700 |
commit | 6b8c814df3141fa705b9921ba0a73aeaa3fe63b6 (patch) | |
tree | cd17b4e5f83159fc0d9f0c2a9ecc537e3413ddc6 /indra/newview/llxmlrpctransaction.cpp | |
parent | 6f4d36634e980bb989b9a8b762c3c622804c43dd (diff) |
Adding new HTTP handling for material manager.
Diffstat (limited to 'indra/newview/llxmlrpctransaction.cpp')
-rwxr-xr-x | indra/newview/llxmlrpctransaction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llxmlrpctransaction.cpp b/indra/newview/llxmlrpctransaction.cpp index e4e63afa16..2270b840a0 100755 --- a/indra/newview/llxmlrpctransaction.cpp +++ b/indra/newview/llxmlrpctransaction.cpp @@ -312,7 +312,6 @@ LLXMLRPCTransaction::Impl::Impl(const std::string& uri, : mHttpRequest(0), mStatus(LLXMLRPCTransaction::StatusNotStarted), mURI(uri), -// mRequestText(0), mResponse(0) { init(request, useGzip); @@ -324,7 +323,6 @@ LLXMLRPCTransaction::Impl::Impl(const std::string& uri, : mHttpRequest(0), mStatus(LLXMLRPCTransaction::StatusNotStarted), mURI(uri), -// mRequestText(0), mResponse(0) { XMLRPC_REQUEST request = XMLRPC_RequestNew(); @@ -485,12 +483,14 @@ void LLXMLRPCTransaction::Impl::setHttpStatus(const LLCore::HttpStatus &status) CURLcode code = static_cast<CURLcode>(status.toULong()); std::string message; std::string uri = "http://secondlife.com/community/support.php"; + LLURI failuri(mURI); + switch (code) { case CURLE_COULDNT_RESOLVE_HOST: message = - "DNS could not resolve the host name.\n" + std::string("DNS could not resolve the host name(") + failuri.hostName() + ").\n" "Please verify that you can connect to the www.secondlife.com\n" "web site. If you can, but continue to receive this error,\n" "please go to the support section and report this problem."; |