Skip to content
Snippets Groups Projects
Commit 9cac312f authored by Todd Stinson's avatar Todd Stinson
Browse files

Backed out changeset: 18b06d44c5a3

parent 9252ad10
No related branches found
No related tags found
No related merge requests found
...@@ -93,25 +93,6 @@ class LLAgentStateChangeNode : public LLHTTPNode ...@@ -93,25 +93,6 @@ class LLAgentStateChangeNode : public LLHTTPNode
LLHTTPRegistration<LLAgentStateChangeNode> gHTTPRegistrationAgentStateChangeNode(SIM_MESSAGE_AGENT_STATE_UPDATE); LLHTTPRegistration<LLAgentStateChangeNode> gHTTPRegistrationAgentStateChangeNode(SIM_MESSAGE_AGENT_STATE_UPDATE);
//---------------------------------------------------------------------------
// StinsonResponder
//---------------------------------------------------------------------------
class StinsonResponder : public LLHTTPClient::Responder
{
public:
StinsonResponder(const std::string &pCapabilityURL);
virtual ~StinsonResponder();
virtual void result(const LLSD &pContent);
virtual void error(U32 pStatus, const std::string& pReason);
protected:
private:
std::string mCapabilityURL;
};
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// NavMeshStatusResponder // NavMeshStatusResponder
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -538,10 +519,6 @@ void LLPathfindingManager::requestGetCharacters(request_id_t pRequestId, object_ ...@@ -538,10 +519,6 @@ void LLPathfindingManager::requestGetCharacters(request_id_t pRequestId, object_
LLHTTPClient::ResponderPtr charactersResponder = new CharactersResponder(charactersURL, pRequestId, pCharactersCallback); LLHTTPClient::ResponderPtr charactersResponder = new CharactersResponder(charactersURL, pRequestId, pCharactersCallback);
LLHTTPClient::get(charactersURL, charactersResponder); LLHTTPClient::get(charactersURL, charactersResponder);
std::string googleURL = "http://www.google.com/";
LLHTTPClient::ResponderPtr stinsonResponder = new StinsonResponder(googleURL);
LLHTTPClient::get(googleURL, stinsonResponder);
} }
} }
} }
...@@ -825,30 +802,6 @@ void LLNavMeshSimStateChangeNode::post(ResponsePtr pResponse, const LLSD &pConte ...@@ -825,30 +802,6 @@ void LLNavMeshSimStateChangeNode::post(ResponsePtr pResponse, const LLSD &pConte
LLPathfindingManager::getInstance()->handleNavMeshStatusUpdate(navMeshStatus); LLPathfindingManager::getInstance()->handleNavMeshStatusUpdate(navMeshStatus);
} }
//---------------------------------------------------------------------------
// StinsonResponder
//---------------------------------------------------------------------------
StinsonResponder::StinsonResponder(const std::string &pCapabilityURL)
: LLHTTPClient::Responder(),
mCapabilityURL(pCapabilityURL)
{
}
StinsonResponder::~StinsonResponder()
{
}
void StinsonResponder::result(const LLSD &pContent)
{
llinfos << "STINSON DEBUG: success to URL '" << mCapabilityURL << "' with content " << pContent << llendl;
}
void StinsonResponder::error(U32 pStatus, const std::string& pReason)
{
llwarns << "STINSON DEBUG: error with request to URL '" << mCapabilityURL << "' because " << pReason << " (statusCode:" << pStatus << ")" << llendl;
}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// LLAgentStateChangeNode // LLAgentStateChangeNode
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment