mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
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
This commit is contained in:
@@ -327,6 +327,12 @@ InterregionComms = "RESTComms"
|
||||
; The old default is "OpenSim", set here fro compatibility
|
||||
shard = "OpenSim"
|
||||
|
||||
; What is reported as the "User-Agent" when using llHTTPRequest
|
||||
; Defaults to not sent if not set here. See the notes section in the wiki at
|
||||
; http://wiki.secondlife.com/wiki/LlHTTPRequest for comments on adding
|
||||
; " (Mozilla Compatible)" to the text where there are problems with a web server
|
||||
;user_agent = "OpenSim LSL (Mozilla Compatible)"
|
||||
|
||||
[ClientStack.LindenUDP]
|
||||
; This is the multiplier applied to all client throttles for outgoing UDP network data
|
||||
; 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"
|
||||
channel_notify = -800
|
||||
|
||||
[MRM]
|
||||
Enabled = false ; Enables the Mini Region Modules Script Engine. WARNING: SECURITY RISK.
|
||||
Enabled = false ; Enables the Mini Region Modules Script Engine. WARNING: SECURITY RISK.
|
||||
|
||||
Reference in New Issue
Block a user