aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-07-04 17:40:02 +0100
committerUbitUmarov2012-07-04 17:40:02 +0100
commit02cb0bf80a0b67eb0316ac74e1ea9741bfce1385 (patch)
treec89d663463e6d6322ed8dc30f38192c9855302f1 /OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
parent*test2* http poll: increased again the pool rate do 10/s but increased timeou... (diff)
downloadopensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.zip
opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.gz
opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.bz2
opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.xz
added a timeout paramenter to PollServiceEventArgs, so each type can define it's timeout
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
index a701b46..e93266c 100644
--- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
@@ -174,7 +174,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
174 174
175 m_HttpServer.AddPollServiceHTTPHandler( 175 m_HttpServer.AddPollServiceHTTPHandler(
176 uri, 176 uri,
177 new PollServiceEventArgs(HttpRequestHandler, HasEvents, GetEvents, NoEvents, urlcode)); 177 new PollServiceEventArgs(HttpRequestHandler, HasEvents, GetEvents, NoEvents, urlcode,25000));
178 178
179 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_GRANTED", url }); 179 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_GRANTED", url });
180 } 180 }
@@ -216,7 +216,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
216 216
217 m_HttpsServer.AddPollServiceHTTPHandler( 217 m_HttpsServer.AddPollServiceHTTPHandler(
218 uri, 218 uri,
219 new PollServiceEventArgs(HttpRequestHandler, HasEvents, GetEvents, NoEvents, urlcode)); 219 new PollServiceEventArgs(HttpRequestHandler, HasEvents, GetEvents, NoEvents, urlcode,25000));
220 220
221 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_GRANTED", url }); 221 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_GRANTED", url });
222 } 222 }