aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-08 22:01:57 +0000
committerTeravus Ovares2009-01-08 22:01:57 +0000
commitfcc3325f3bbeff204d7e5d779fcd8875d6dd4e10 (patch)
treef80e41ae6e508bcb8ec32c24d3e6f8285756cf7b /OpenSim/Framework
parent* Establish placeholder for future TextureSender tests (diff)
downloadopensim-SC_OLD-fcc3325f3bbeff204d7e5d779fcd8875d6dd4e10.zip
opensim-SC_OLD-fcc3325f3bbeff204d7e5d779fcd8875d6dd4e10.tar.gz
opensim-SC_OLD-fcc3325f3bbeff204d7e5d779fcd8875d6dd4e10.tar.bz2
opensim-SC_OLD-fcc3325f3bbeff204d7e5d779fcd8875d6dd4e10.tar.xz
* Adds the variables passed to the hashtable BaseHttpServer passes in.
* Null check on Sessions_report.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index f69fb5e..66119dc 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -1066,6 +1066,9 @@ namespace OpenSim.Framework.Servers
1066 1066
1067 Hashtable keysvals = new Hashtable(); 1067 Hashtable keysvals = new Hashtable();
1068 Hashtable headervals = new Hashtable(); 1068 Hashtable headervals = new Hashtable();
1069
1070 Hashtable requestVars = new Hashtable();
1071
1069 string host = String.Empty; 1072 string host = String.Empty;
1070 1073
1071 string[] querystringkeys = request.QueryString.AllKeys; 1074 string[] querystringkeys = request.QueryString.AllKeys;
@@ -1079,6 +1082,7 @@ namespace OpenSim.Framework.Servers
1079 foreach (string queryname in querystringkeys) 1082 foreach (string queryname in querystringkeys)
1080 { 1083 {
1081 keysvals.Add(queryname, request.QueryString[queryname]); 1084 keysvals.Add(queryname, request.QueryString[queryname]);
1085 requestVars.Add(queryname, keysvals[queryname]);
1082 } 1086 }
1083 1087
1084 foreach (string headername in rHeaders) 1088 foreach (string headername in rHeaders)
@@ -1091,7 +1095,10 @@ namespace OpenSim.Framework.Servers
1091 { 1095 {
1092 host = (string)headervals["Host"]; 1096 host = (string)headervals["Host"];
1093 } 1097 }
1098
1094 keysvals.Add("headers",headervals); 1099 keysvals.Add("headers",headervals);
1100 keysvals.Add("querystringkeys", querystringkeys);
1101 keysvals.Add("requestvars", requestVars);
1095 1102
1096 if (keysvals.Contains("method")) 1103 if (keysvals.Contains("method"))
1097 { 1104 {