diff options
author | John Hurliman | 2009-10-02 18:31:08 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-02 18:31:08 -0700 |
commit | 387e9f7a7faeb412054383080afc3507a1522746 (patch) | |
tree | 522470dd28074f7e114547476968942c05e866aa /OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | |
parent | Merge branch 'diva-textures-osgrid' of ssh://opensimulator.org/var/git/opensi... (diff) | |
download | opensim-SC-387e9f7a7faeb412054383080afc3507a1522746.zip opensim-SC-387e9f7a7faeb412054383080afc3507a1522746.tar.gz opensim-SC-387e9f7a7faeb412054383080afc3507a1522746.tar.bz2 opensim-SC-387e9f7a7faeb412054383080afc3507a1522746.tar.xz |
* Creates Util.UTF8 and switches some references of Encoding.UTF8 to Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework)
* Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
Diffstat (limited to 'OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs')
-rw-r--r-- | OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs index 318d2c3..3dce578 100644 --- a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs +++ b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | |||
@@ -77,7 +77,7 @@ namespace OpenSim.Framework.Configuration.HTTP | |||
77 | count = resStream.Read(buf, 0, buf.Length); | 77 | count = resStream.Read(buf, 0, buf.Length); |
78 | if (count != 0) | 78 | if (count != 0) |
79 | { | 79 | { |
80 | tempString = Encoding.UTF8.GetString(buf, 0, count); | 80 | tempString = Util.UTF8.GetString(buf, 0, count); |
81 | sb.Append(tempString); | 81 | sb.Append(tempString); |
82 | } | 82 | } |
83 | } while (count > 0); | 83 | } while (count > 0); |