diff options
Added the ability to set User-Agent in llHTTPRequest. No new default value has been set since having no User-Agent seems to work well but the facility is now available to set this if required. Using something based on the pattern of SLs User-Agent may well cause problems, not all web servers respond well to it. See the notes in the SL Wiki http://wiki.secondlife.com/wiki/LlHTTPRequest
Fixes Mantis #3143
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSim.ini.example | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 7f1c55b..b62cd77 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -327,6 +327,12 @@ InterregionComms = "RESTComms" | |||
327 | ; The old default is "OpenSim", set here fro compatibility | 327 | ; The old default is "OpenSim", set here fro compatibility |
328 | shard = "OpenSim" | 328 | shard = "OpenSim" |
329 | 329 | ||
330 | ; What is reported as the "User-Agent" when using llHTTPRequest | ||
331 | ; Defaults to not sent if not set here. See the notes section in the wiki at | ||
332 | ; http://wiki.secondlife.com/wiki/LlHTTPRequest for comments on adding | ||
333 | ; " (Mozilla Compatible)" to the text where there are problems with a web server | ||
334 | ;user_agent = "OpenSim LSL (Mozilla Compatible)" | ||
335 | |||
330 | [ClientStack.LindenUDP] | 336 | [ClientStack.LindenUDP] |
331 | ; This is the multiplier applied to all client throttles for outgoing UDP network data | 337 | ; This is the multiplier applied to all client throttles for outgoing UDP network data |
332 | ; If it is set to 1, then we obey the throttle settings as given to us by the client. If it is set to 3, for example, then we | 338 | ; If it is set to 1, then we obey the throttle settings as given to us by the client. If it is set to 3, for example, then we |
@@ -1063,4 +1069,4 @@ InterregionComms = "RESTComms" | |||
1063 | channel_notify = -800 | 1069 | channel_notify = -800 |
1064 | 1070 | ||
1065 | [MRM] | 1071 | [MRM] |
1066 | Enabled = false ; Enables the Mini Region Modules Script Engine. WARNING: SECURITY RISK. \ No newline at end of file | 1072 | Enabled = false ; Enables the Mini Region Modules Script Engine. WARNING: SECURITY RISK. |