diff options
author | Melanie | 2011-10-12 07:04:28 +0100 |
---|---|---|
committer | Melanie | 2011-10-12 07:04:28 +0100 |
commit | b251423b112e137680c00ce726c4e2b82829792b (patch) | |
tree | 55d94326adb947f70ec63ec8a182208672372659 /OpenSim/Region/Framework | |
parent | Merge commit '4c812884be59d76039afee74725fc45981356f36' into bigmerge (diff) | |
parent | remove the pointless slashes on the end of the (5!) different server stat ret... (diff) | |
download | opensim-SC-b251423b112e137680c00ce726c4e2b82829792b.zip opensim-SC-b251423b112e137680c00ce726c4e2b82829792b.tar.gz opensim-SC-b251423b112e137680c00ce726c4e2b82829792b.tar.bz2 opensim-SC-b251423b112e137680c00ce726c4e2b82829792b.tar.xz |
Merge commit '1f78dc65041729567edc411a3e63dd9a32a268a3' into bigmerge
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs b/OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs index d25d5dd..4578236 100644 --- a/OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs +++ b/OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs | |||
@@ -36,7 +36,6 @@ using OpenMetaverse; | |||
36 | using OpenMetaverse.StructuredData; | 36 | using OpenMetaverse.StructuredData; |
37 | using OpenSim.Framework; | 37 | using OpenSim.Framework; |
38 | using OpenSim.Framework.Communications; | 38 | using OpenSim.Framework.Communications; |
39 | |||
40 | using OpenSim.Framework.Console; | 39 | using OpenSim.Framework.Console; |
41 | using OpenSim.Framework.Servers; | 40 | using OpenSim.Framework.Servers; |
42 | using OpenSim.Framework.Servers.HttpServer; | 41 | using OpenSim.Framework.Servers.HttpServer; |
@@ -45,12 +44,8 @@ using OpenSim.Region.Framework; | |||
45 | using OpenSim.Region.Framework.Interfaces; | 44 | using OpenSim.Region.Framework.Interfaces; |
46 | using OpenSim.Region.Framework.Scenes; | 45 | using OpenSim.Region.Framework.Scenes; |
47 | 46 | ||
48 | |||
49 | |||
50 | namespace OpenSim.Region.Framework.Scenes | 47 | namespace OpenSim.Region.Framework.Scenes |
51 | { | 48 | { |
52 | |||
53 | |||
54 | public class RegionStatsHandler : IStreamedRequestHandler | 49 | public class RegionStatsHandler : IStreamedRequestHandler |
55 | { | 50 | { |
56 | private string osRXStatsURI = String.Empty; | 51 | private string osRXStatsURI = String.Empty; |
@@ -67,7 +62,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
67 | regionInfo = region_info; | 62 | regionInfo = region_info; |
68 | osRXStatsURI = Util.SHA1Hash(regionInfo.regionSecret); | 63 | osRXStatsURI = Util.SHA1Hash(regionInfo.regionSecret); |
69 | osXStatsURI = Util.SHA1Hash(regionInfo.osSecret); | 64 | osXStatsURI = Util.SHA1Hash(regionInfo.osSecret); |
70 | |||
71 | } | 65 | } |
72 | 66 | ||
73 | public byte[] Handle(string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse) | 67 | public byte[] Handle(string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse) |
@@ -88,7 +82,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
88 | public string Path | 82 | public string Path |
89 | { | 83 | { |
90 | // This is for the region and is the regionSecret hashed | 84 | // This is for the region and is the regionSecret hashed |
91 | get { return "/" + osRXStatsURI + "/"; } | 85 | get { return "/" + osRXStatsURI; } |
92 | } | 86 | } |
93 | 87 | ||
94 | private string Report() | 88 | private string Report() |
@@ -106,7 +100,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
106 | strBuffer = OSDParser.SerializeJsonString(args); | 100 | strBuffer = OSDParser.SerializeJsonString(args); |
107 | 101 | ||
108 | return strBuffer; | 102 | return strBuffer; |
109 | |||
110 | } | 103 | } |
111 | } | 104 | } |
112 | } | 105 | } \ No newline at end of file |