UbitUmarov
f669c56bb9
mantis 9197: on llHttprequest report status = 0 as 499
2025-04-22 22:10:20 +01:00
UbitUmarov
2bd08a19d5
let llgethttpheaders do case insensitive search, plus cosmetics
2023-05-24 00:43:35 +01:00
UbitUmarov
73ca50bbbc
change default httpclients MaxResponseContentBufferSize
2023-05-18 17:47:39 +01:00
UbitUmarov
7860e2d861
cosmetics
2023-05-13 16:39:14 +01:00
UbitUmarov
83491db916
several changes to llhttprequest like use HttpClient
2023-05-06 18:06:40 +01:00
UbitUmarov
9686af7944
PGSQL: since we mya not have mono, our mono.security.dll must be on bin folder
2023-04-11 17:55:28 +01:00
UbitUmarov
9e58f0f489
do not close a response still in use
2022-11-05 23:54:52 +00:00
UbitUmarov
817e2bbd71
scripts httprequest: try to make a redir to a server local uri work
2022-08-29 03:31:09 +01:00
UbitUmarov
dcbf89963b
HttpRequestModule: changed from shared module to non shared module with static shared elements; make it use JobEngine, etc
2021-01-18 19:24:43 +00:00
UbitUmarov
25c9e66906
a few changes to lsl http headers
2020-12-09 18:04:10 +00:00
UbitUmarov
fb54ca39d1
cosmetics ( i hope)
2020-08-07 22:10:53 +01:00
UbitUmarov
c99014991b
cosmetics
2020-04-09 13:41:41 +01:00
UbitUmarov
cd5a6daa84
also throttle llhttprequest by owner, options: PrimOwnerRequestsBurst = 5, PrimOwnerRequestsPerSec = 25; increase concurrency to 8
2019-02-24 09:46:55 +00:00
UbitUmarov
800f6d6529
several changes to llHttpRequest processing: options section renamed ScriptsHttpRequestModule; throttle by prim (PrimRequestsBurst = 3, PrimRequestsPerSec = 1) and max concurrent connections per instance (MaxPoolThreads = 5), llhttprequest returns if error, nullkey if throttled, reqid otherwise
2019-02-24 07:25:50 +00:00
UbitUmarov
55f27135dd
remove references to obsolete CertificatePolicy
2019-02-04 21:06:50 +00:00
UbitUmarov
0d93d5ce69
fix script secure llhttlrequest
2018-09-08 04:46:02 +01:00
UbitUmarov
c92ba1cc04
shut up some pesty warnings
2018-01-15 16:23:19 +00:00
UbitUmarov
fe6ad384e4
merge
2017-07-20 11:30:12 +01:00
UbitUmarov
190874344b
ScriptsHttpReq does not need a permanent thread
2017-06-29 21:14:20 +01:00
UbitUmarov
6a0eba3d7b
disable llhttprequests secure con, since it still collides with main ssl settings
2017-05-27 14:39:56 +01:00
UbitUmarov
928733efc9
please DIE! PLEASE??
2017-05-23 03:26:32 +01:00
UbitUmarov
bad00670a9
disable keepalive on llHttpRequest
2017-05-22 05:02:42 +01:00
UbitUmarov
49d42ee08a
mantis 8171 fix redirection on llHttpRequest
2017-05-20 17:56:04 +01:00
UbitUmarov
ce3af94a69
mantis 6738: change parsing of the HTTP_CUSTOM_HEADER parameter and ignore entries in excess of 8 on the request
2017-04-26 07:19:44 +01:00
Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +00:00
Jeff Kelley
41644bbfa9
Implement parameterization of HTTP_BODY_MAXLENGTH maximum as proposed in Mantis 7839.
2016-03-14 16:08:49 +01:00
UbitUmarov
85a75ce0bc
assume direct string.replace is good enought to avoid a stringbuild use
2015-12-25 14:16:47 +00:00
UbitUmarov
41078f8d51
try to implement HTTP_BODY_MAXLENGTH. Make it limit body input bytes. Read entire relevant input buffer before UTF-8 parsing, or it may fail.
2015-12-25 13:51:05 +00:00
Robert Adams
e5367d822b
Merge of ubitworkvarnew with opensim/master as of 20150905.
...
This integrates the OpenSim refactoring to make physics, etc into modules.
AVN physics hasn't been moved to new location.
Does not compile yet.
Merge branch 'osmaster' into mbworknew1
2015-09-08 04:54:16 -07:00
Diva Canto
d00f73c3a4
Deleted OpenSim.Framework.Communications. Moved its two remaining files to OpenSim.Framework.
2015-09-04 14:39:23 -07:00
UbitUmarov
a11edceb00
seems to compile ( tests comented out)
2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af
bad merge?
2015-09-01 14:54:35 +01:00
Oren Hurvitz
14b4d8bad7
Eliminated several warnings
2015-07-31 18:13:39 +03:00
Justin Clark-Casey (justincc)
7d3bafd5ab
Add outbound URL filter to llHttpRequest() and osSetDynamicTextureURL*() script functions.
...
This is to address an issue where HTTP script functions could make calls to localhost and other endpoints inside the simulator's LAN.
By default, calls to all private addresses are now blocked as per http://en.wikipedia.org/wiki/Reserved_IP_addresses
If you require exceptions to this, configure [Network] OutboundDisallowForUserScriptsExcept in OpenSim.ini
2015-03-04 18:27:50 +00:00
Justin Clark-Casey (justincc)
fc878a33ed
refactor: consistently put all test classes in the OpenSim.Tests.Common package rather than some in OpenSim.Tests.Common.Mock
...
the separate mock package was not useful and was just another using line to always add
2014-11-25 23:21:37 +00:00
UbitUmarov
cd87c4bec5
change/fix previus commits
2014-10-13 12:00:31 +01:00
UbitUmarov
6794508f8c
reduce minimum number of smartpool threads and name it
2014-10-13 11:41:11 +01:00
Melanie Thielker
4002cd96a5
When sending http requests, close the response stream instead of waiting
...
for the finalizer to do it, if it ever does.
2014-09-20 20:42:07 +02:00
Oren Hurvitz
b8e22f02e7
Make sure Web streams are disposed after use
2014-01-31 00:44:22 +00:00
Melanie
3589acdab1
Merge branch 'master' into careminster
...
Conflicts:
.gitignore
OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
prebuild.xml
runprebuild.bat
2013-11-23 19:13:22 +00:00
Justin Clark-Casey (justincc)
7cab41f422
refactor: replace verbose checks with String.IsNullOrEmpty where applicable.
...
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-11-15 21:45:08 +00:00
Melanie
7830cc9954
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs
OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
OpenSim/Region/Framework/Scenes/ScenePresence.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
OpenSim/Services/HypergridService/UserAgentService.cs
2013-07-18 10:08:10 +01:00
Justin Clark-Casey (justincc)
7c2e4786ce
minor: remove some regression test logging switches accidentally left uncommented.
2013-07-11 23:19:55 +01:00
Justin Clark-Casey (justincc)
e15a15688b
minor: Take out unnecessary clumsy sleep at the end of regression Test404Response().
...
This wasn't actually necessary in the end but was accidentally left in.
2013-07-11 23:11:35 +01:00
Justin Clark-Casey (justincc)
44e9849ed1
Fix regression where llHTTPRequests which did not get an OK response returned 499 and the exception message in the http_response event rather than the actual response code and body.
...
This was a regression since commit 831e4c3 (Thu Apr 4 00:36:15 2013)
This commit also adds a regression test for this case, though this currently only works with Mono
This aims to address http://opensimulator.org/mantis/view.php?id=6704
2013-07-11 23:02:30 +01:00
Melanie
3aa83738e2
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Region/Application/OpenSimBase.cs
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
2013-05-04 01:22:12 +01:00
Melanie
7cf377fff0
Merge branch 'master' into careminster
...
Conflicts:
OpenSim/Data/MySQL/MySQLAssetData.cs
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
2013-04-10 13:20:55 +01:00
Justin Clark-Casey (justincc)
148e46563f
minor: fix mono compiler warning in ScriptsHttpRequests.cs
2013-04-10 00:07:58 +01:00
Justin Clark-Casey (justincc)
f281a994e8
refactor: Simplify ScriptsHttpRequests.GetNextCompletedRequest to more simply iterate through pending requests without unnecessary checks.
2013-04-04 00:49:07 +01:00
Justin Clark-Casey (justincc)
831e4c3850
Fix bug where outstanding llHTTPRequests for scripts were not being aborted when they were deleted.
...
This was because AsyncCommandManager was handing an item ID to IHttpRequestModule.StopHttpRequest() rather than the expected request ID.
This commit also makes the http request asynchronous using BeginGetResponse() rather than doing this by launching a new thread
so that we can more safely abort it via HttpWebRequest.Abort() rather than aborting the thread itself.
This also renames StopHttpRequest() to StopHttpRequestsForScript() since any outstanding requests are now aborted and/or removed.
2013-04-04 00:36:15 +01:00