mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
CAPS should now be working in standalone mode. Texture uploads will work even after you cross a region boundary.
This commit is contained in:
@@ -74,13 +74,18 @@ namespace OpenSim.Region.Capabilities
|
||||
{
|
||||
Console.WriteLine("registering CAPS handlers");
|
||||
string capsBase = "/CAPS/" + m_capsObjectPath;
|
||||
try
|
||||
{
|
||||
httpListener.AddStreamHandler(new LLSDStreamhandler<LLSDMapRequest, LLSDMapLayerResponse>("POST", capsBase + m_mapLayerPath, this.GetMapLayer));
|
||||
httpListener.AddStreamHandler(new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDAssetUploadResponse>("POST", capsBase + m_newInventory, this.NewAgentInventoryRequest));
|
||||
|
||||
httpListener.AddStreamHandler(new LLSDStreamhandler<LLSDMapRequest, LLSDMapLayerResponse>("POST", capsBase + m_mapLayerPath, this.GetMapLayer ));
|
||||
httpListener.AddStreamHandler( new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDAssetUploadResponse>("POST", capsBase + m_newInventory, this.NewAgentInventoryRequest));
|
||||
|
||||
AddLegacyCapsHandler(httpListener, m_requestPath, CapsRequest);
|
||||
//AddLegacyCapsHandler(httpListener, m_requestTexture , RequestTexture);
|
||||
AddLegacyCapsHandler(httpListener, m_notecardUpdatePath, NoteCardAgentInventory);
|
||||
AddLegacyCapsHandler(httpListener, m_requestPath, CapsRequest);
|
||||
//AddLegacyCapsHandler(httpListener, m_requestTexture , RequestTexture);
|
||||
AddLegacyCapsHandler(httpListener, m_notecardUpdatePath, NoteCardAgentInventory);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -361,3 +366,4 @@ namespace OpenSim.Region.Capabilities
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user