diff options
author | Charles Krinke | 2008-01-12 22:18:23 +0000 |
---|---|---|
committer | Charles Krinke | 2008-01-12 22:18:23 +0000 |
commit | 7d609ae56daf7b6edc586c4801b908255e393c69 (patch) | |
tree | d2486d6b2e21427a79bad145c6dd78199dc83443 /OpenSim/Region/Environment/Modules | |
parent | * Made it so that if you don't specify a key, the defaults will not be assumed. (diff) | |
download | opensim-SC-7d609ae56daf7b6edc586c4801b908255e393c69.zip opensim-SC-7d609ae56daf7b6edc586c4801b908255e393c69.tar.gz opensim-SC-7d609ae56daf7b6edc586c4801b908255e393c69.tar.bz2 opensim-SC-7d609ae56daf7b6edc586c4801b908255e393c69.tar.xz |
Thank you, Kinoc for adding: When accessing slower web sites or proxy services
300 msecs can be too slow and cause a timeout to occur. This is reported when
llHTTPRequest times out but may not be reported for other functions like
osSetDynamicTextureURL. This sets the time out to 30 seconds. It appears
that the value affects not just llHTTPRequest's.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs index f8798dc..e3de13b 100644 --- a/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs +++ b/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs | |||
@@ -88,7 +88,7 @@ namespace OpenSim.Region.Environment.Modules | |||
88 | private Queue<HttpRequestClass> rpcQueue = new Queue<HttpRequestClass>(); | 88 | private Queue<HttpRequestClass> rpcQueue = new Queue<HttpRequestClass>(); |
89 | private object HttpListLock = new object(); | 89 | private object HttpListLock = new object(); |
90 | private string m_name = "HttpScriptRequests"; | 90 | private string m_name = "HttpScriptRequests"; |
91 | private int httpTimeout = 300; | 91 | private int httpTimeout = 30000; |
92 | 92 | ||
93 | // <request id, HttpRequestClass> | 93 | // <request id, HttpRequestClass> |
94 | private Dictionary<LLUUID, HttpRequestClass> m_pendingRequests; | 94 | private Dictionary<LLUUID, HttpRequestClass> m_pendingRequests; |