diff options
author | UbitUmarov | 2019-01-21 06:05:21 +0000 |
---|---|---|
committer | UbitUmarov | 2019-01-21 06:05:21 +0000 |
commit | 33a062612f9fafcb7b4c0e8ac60937c448ce3c10 (patch) | |
tree | e6d716b001e94e1d9274e0adc4e8513d2aa48148 /OpenSim/Framework/WebUtil.cs | |
parent | this looks more like ubode (diff) | |
download | opensim-SC-33a062612f9fafcb7b4c0e8ac60937c448ce3c10.zip opensim-SC-33a062612f9fafcb7b4c0e8ac60937c448ce3c10.tar.gz opensim-SC-33a062612f9fafcb7b4c0e8ac60937c448ce3c10.tar.bz2 opensim-SC-33a062612f9fafcb7b4c0e8ac60937c448ce3c10.tar.xz |
remove terraindata abstraction layer, since we only have heightmap type
Diffstat (limited to 'OpenSim/Framework/WebUtil.cs')
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 417e1cf..131ae50 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -176,7 +176,7 @@ namespace OpenSim.Framework | |||
176 | LogOutgoingDetail(string.Format("RESPONSE {0}: ", reqnum), input); | 176 | LogOutgoingDetail(string.Format("RESPONSE {0}: ", reqnum), input); |
177 | } | 177 | } |
178 | 178 | ||
179 | public static OSDMap ServiceOSDRequest(string url, OSDMap data, string method, int timeout, bool compressed, bool rpc) | 179 | public static OSDMap ServiceOSDRequest(string url, OSDMap data, string method, int timeout, bool compressed, bool rpc, bool keepalive = false) |
180 | { | 180 | { |
181 | int reqnum = RequestNumber++; | 181 | int reqnum = RequestNumber++; |
182 | 182 | ||
@@ -197,7 +197,7 @@ namespace OpenSim.Framework | |||
197 | HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); | 197 | HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); |
198 | request.Method = method; | 198 | request.Method = method; |
199 | request.Timeout = timeout; | 199 | request.Timeout = timeout; |
200 | request.KeepAlive = false; | 200 | request.KeepAlive = keepalive; |
201 | request.MaximumAutomaticRedirections = 10; | 201 | request.MaximumAutomaticRedirections = 10; |
202 | request.ReadWriteTimeout = timeout / 2; | 202 | request.ReadWriteTimeout = timeout / 2; |
203 | request.Headers[OSHeaderRequestID] = reqnum.ToString(); | 203 | request.Headers[OSHeaderRequestID] = reqnum.ToString(); |