aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-12-05 21:52:10 +0000
committerJustin Clark-Casey (justincc)2012-12-05 21:52:10 +0000
commitfdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d (patch)
treee5ba5c26caceabcb41201cc6ad1f3be14db20789 /OpenSim/Framework/Servers
parentIn XEngine.DoOnRezScript() use Culture.SetCurrentCulture() instead of constru... (diff)
downloadopensim-SC_OLD-fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d.zip
opensim-SC_OLD-fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d.tar.gz
opensim-SC_OLD-fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d.tar.bz2
opensim-SC_OLD-fdf8876e20e519e2c69f0bd0fed4aea7ff4bab8d.tar.xz
In BaseHttpServer.HandleRequest(), use Culture.SetCurrentCulture() rather than creating a new CultureInfo separately
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 2cd626f..8a0340f 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -436,7 +436,7 @@ namespace OpenSim.Framework.Servers.HttpServer
436// reqnum = String.Format("{0}:{1}",request.RemoteIPEndPoint,request.Headers["opensim-request-id"]); 436// reqnum = String.Format("{0}:{1}",request.RemoteIPEndPoint,request.Headers["opensim-request-id"]);
437 //m_log.DebugFormat("[BASE HTTP SERVER]: <{0}> handle request for {1}",reqnum,request.RawUrl); 437 //m_log.DebugFormat("[BASE HTTP SERVER]: <{0}> handle request for {1}",reqnum,request.RawUrl);
438 438
439 Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US", true); 439 Culture.SetCurrentCulture();
440 440
441// // This is the REST agent interface. We require an agent to properly identify 441// // This is the REST agent interface. We require an agent to properly identify
442// // itself. If the REST handler recognizes the prefix it will attempt to 442// // itself. If the REST handler recognizes the prefix it will attempt to