aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/OpenSimDefaults.ini
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-04-09 23:15:01 +0100
committerJustin Clark-Casey (justincc)2013-04-09 23:15:01 +0100
commit659c741ff5a3d13b4462d3ce906c6785bb296322 (patch)
tree8dc5dd30d303bbb328ae0e2eb48987225e95c517 /bin/OpenSimDefaults.ini
parentminor: Log an exception if we aren't able to delete a script state file rathe... (diff)
downloadopensim-SC-659c741ff5a3d13b4462d3ce906c6785bb296322.zip
opensim-SC-659c741ff5a3d13b4462d3ce906c6785bb296322.tar.gz
opensim-SC-659c741ff5a3d13b4462d3ce906c6785bb296322.tar.bz2
opensim-SC-659c741ff5a3d13b4462d3ce906c6785bb296322.tar.xz
Add more notes to async_call_method relating to UnsafeQueueUserWorkItem
UnsafeQueueUserWorkItem is so called because it allows the calling code to escalate its security privileges. However, since we must already trust this code anyway in OpenSimulator this is not an issue.
Diffstat (limited to 'bin/OpenSimDefaults.ini')
-rw-r--r--bin/OpenSimDefaults.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini
index 1d2c0cf..28c1db2 100644
--- a/bin/OpenSimDefaults.ini
+++ b/bin/OpenSimDefaults.ini
@@ -43,9 +43,14 @@
43 ; Sets the method that OpenSim will use to fire asynchronous 43 ; Sets the method that OpenSim will use to fire asynchronous
44 ; events. Valid values are UnsafeQueueUserWorkItem, 44 ; events. Valid values are UnsafeQueueUserWorkItem,
45 ; QueueUserWorkItem, BeginInvoke, SmartThreadPool, and Thread. 45 ; QueueUserWorkItem, BeginInvoke, SmartThreadPool, and Thread.
46 ;
46 ; SmartThreadPool is reported to work well on Mono/Linux, but 47 ; SmartThreadPool is reported to work well on Mono/Linux, but
47 ; UnsafeQueueUserWorkItem has been benchmarked with better 48 ; UnsafeQueueUserWorkItem has been benchmarked with better
48 ; performance on .NET/Windows 49 ; performance on .NET/Windows
50 ;
51 ; UnsafeQueueUserWorkItem refers to the fact that the code creating the event could elevate its security
52 ; privileges. However, as calling code is trusted anyway this is safe (if you set
53 ; TrustedBinaries = true in the [XEngine] section then you already have to trust that incoming code for other reasons).
49 async_call_method = SmartThreadPool 54 async_call_method = SmartThreadPool
50 55
51 ; Max threads to allocate on the FireAndForget thread pool 56 ; Max threads to allocate on the FireAndForget thread pool