Commit Graph

1059 Commits (0518b397a33ec16c1e3d6f203b82c86b89b80e75)

Author SHA1 Message Date
UbitUmarov ac43124a93 duhhh 2020-03-18 17:59:35 +00:00
UbitUmarov 59d3f9fa62 log processor arch 2020-03-18 17:41:29 +00:00
UbitUmarov 97cb6254ef cosmetics, rename a few vars, etc 2020-03-02 01:32:33 +00:00
UbitUmarov 8d8b5b756f mantis 8663: add CertificateValidationCallback set. Thanks Manni 2020-02-18 20:23:14 +00:00
UbitUmarov da0a8d6c43 remove some more useless NULL arguments 2019-10-22 12:39:50 +01:00
UbitUmarov b98ad6c53c remove some useless NULL arguments 2019-10-22 12:23:19 +01:00
Robert Adams 9956f5cb4a Changes fix some CORS problems when making XMLRPC calls from
browsers (which have gotten very picky over the years).
Add "Access-Control-Allow-Origin" to XMLRPC responses.
Add "Access-Control-Allow-Methods" and "Access-Control-Allow-Headers" to
    the HTTP OPTIONS response (used in CORS pre-flight request).
2019-09-17 19:30:30 -07:00
Melanie 0fd17c08ae Massive console refactor. Greatly simplify interface. 2019-08-20 23:28:59 +01:00
UbitUmarov 1b8999b130 try to work around robust shutdown/quit blocking on mono 2019-03-12 11:14:59 +00:00
Robert Adams bd1b992aaf Add Thread.ResetAbort() to various thread loops to clean up errors on
shutdown. Fixes Mantis #8494.

Threads are aborted when shutting down and ThreadAbortException is odd
in that it is rethrown at the end of the catch unless the abort is
reset. No functional changes but fewer error messages on shutdown.
2019-02-27 07:49:52 -08:00
UbitUmarov 2060b70e5d reduce some delay on shutdown 2019-01-19 08:31:07 +00:00
UbitUmarov 7b2b29d10d return a proper http error 2018-12-07 04:45:32 +00:00
UbitUmarov 037de89a75 clean a bit 2018-12-03 13:51:45 +00:00
UbitUmarov 66f3c6c730 avoid a data copy 2018-12-03 10:39:54 +00:00
UbitUmarov 79234795fd avoid a data copy 2018-12-03 10:17:22 +00:00
UbitUmarov ca754b0156 avoid a data copy 2018-12-02 16:17:23 +00:00
UbitUmarov 4ced4fed33 replace GetMeshModule and GetTextureModule 2018-12-01 23:13:24 +00:00
UbitUmarov d179b2dda1 avoid data references stuck in packet pools 2018-11-25 18:38:37 +00:00
UbitUmarov 41df4d7da4 remove some fire and forget methods missed file 2018-11-06 15:23:20 +00:00
UbitUmarov 9e274ce64d fix typo 2018-11-03 11:52:41 +00:00
UbitUmarov 5b5e53aa1d we should only have one http poll service manager per instance 2018-11-03 11:43:47 +00:00
UbitUmarov 1ea5116f00 forgot about lsl secure urls service.. so lets try another way for now (mantis 8382) 2018-11-02 00:08:34 +00:00
UbitUmarov 9e71b5575a only main http server listener should run events pool 2018-11-01 21:36:37 +00:00
UbitUmarov ed0e2623b9 add a few more gc collect in some spots 2018-09-29 17:42:12 +01:00
UbitUmarov 4652f8b84f pesty warning 2018-09-13 11:38:28 +01:00
UbitUmarov ca404e5001 some cleanup 2018-09-12 13:48:29 +01:00
Melanie e874e3a2ad Merge branch 'master' of opensimulator.org:/var/git/opensim 2018-09-12 13:22:17 +01:00
Melanie 39e82cb043 Squelch "connection reset by peer" exceptions 2018-09-12 13:13:11 +01:00
UbitUmarov 9f3c803552 avoid potencial null refs 2018-08-26 08:40:35 +01:00
UbitUmarov aee981e5e2 http reusecontext is obsolete 2018-07-14 21:48:59 +01:00
UbitUmarov ee2eed8c6f http reusecontext is obsolete 2018-07-14 21:42:07 +01:00
UbitUmarov 8ac69a5d27 just remove the test instead 2018-07-06 02:23:06 +01:00
UbitUmarov c87585ad96 simplify http bycontext key 2018-01-24 03:12:56 +00:00
UbitUmarov 73b587989c give BlockingCollection more chances 2018-01-22 00:24:29 +00:00
UbitUmarov 855dcda9c3 give BlockingCollection another chance 2018-01-21 21:02:07 +00:00
UbitUmarov ccdaebaed6 give concurrentqueue another chance 2018-01-21 20:22:28 +00:00
UbitUmarov 029d6e40f6 remove those xml things no longer needed on .net >4.5.2 2018-01-17 04:18:43 +00:00
UbitUmarov b903287dd1 Merge branch 'master' into httptests 2018-01-16 17:17:44 +00:00
UbitUmarov c92ba1cc04 shut up some pesty warnings 2018-01-15 16:23:19 +00:00
UbitUmarov e908c0ecad give up on a property that old monos do compile, but then smore ok exec 2018-01-09 19:47:10 +00:00
UbitUmarov eec3921800 fall back to a obsolete property since several monos in use (include our own) do not suporte the proper .net4.0 one 2018-01-08 12:00:21 +00:00
UbitUmarov 875ca104b8 Merge branch 'master' into httptests 2018-01-05 22:37:42 +00:00
UbitUmarov 89a690c11f a few more xml things 2018-01-05 12:24:07 +00:00
UbitUmarov 6d4b0a8ce3 Merge branch 'master' into httptests 2017-08-16 05:05:57 +01:00
UbitUmarov fc4212bc81 mantis 8222 2017-07-29 17:54:18 +01:00
UbitUmarov 3fc6f62c45 Merge branch 'master' into httptests 2017-06-19 03:20:40 +01:00
UbitUmarov 4df19ece53 framework main thread pool is always active and in use ( even id hard to catch) so show in on show stats. Disable ServerStatsCollector by default, since most don't use it, Adicionally it uses shared framework performance counters system that may be affected if a region crashs 2017-06-16 18:16:26 +01:00
UbitUmarov 5842d5f7b0 revert. The .net concurrent objects look nice, but mono5 cpu load with them does not 2017-06-10 13:58:16 +01:00
UbitUmarov 73aa752034 replace some locked objects by .net4.0 concurrent objects 2017-06-10 04:18:31 +01:00
UbitUmarov 7d58b73bbc some changes on pollevent 2017-06-06 21:55:47 +01:00
UbitUmarov 55babdc160 Merge branch 'master' into httptests 2017-05-31 07:21:21 +01:00
UbitUmarov 90da5280af put back soft http close 2017-05-30 09:01:39 +01:00
UbitUmarov e5bebe3a32 webrequests serialiazation per endpoint its now ServicePointManager job 2017-05-30 08:20:58 +01:00
UbitUmarov d1306c8976 a null ref check left behind on previus commits 2017-05-28 02:11:40 +01:00
UbitUmarov a7db505caf stupid mono5 doesn't know about Subject Alternative Name IPAddress 2017-05-27 12:38:31 +01:00
UbitUmarov 117e6ec266 fix wrong cert ip compare 2017-05-27 08:30:12 +01:00
UbitUmarov 582dc75381 remove a accent from a method name 2017-05-27 06:30:23 +01:00
UbitUmarov 2777995331 Merge branch 'master' into httptests 2017-05-25 10:23:52 +01:00
UbitUmarov 772c5b7db0 move assetsconnector threads to whatchdog; Abort all alive threads known to watchdog before exit 2017-05-25 06:05:02 +01:00
UbitUmarov b6c23fe911 make a few more threads background ones 2017-05-25 02:01:36 +01:00
UbitUmarov dca3a45803 add a bit more pre exit cleanup 2017-05-24 22:17:04 +01:00
UbitUmarov c0bfaac0ac merge master 2017-05-23 07:35:02 +01:00
UbitUmarov f3eb73926e stop a few more threads on exit 2017-05-23 04:05:31 +01:00
UbitUmarov 928733efc9 please DIE! PLEASE?? 2017-05-23 03:26:32 +01:00
UbitUmarov fcb435deb4 make sure we drop requests if DoHTTPGruntWork fails 2017-05-22 05:53:59 +01:00
UbitUmarov 0320225ca8 reenqueue poll events while conn is open, and not expired 2017-05-21 07:02:35 +01:00
UbitUmarov e520dba717 Merge branch 'master' into httptests 2017-05-21 02:20:40 +01:00
UbitUmarov a2c2456076 remove LongPoll type and queues. Events should now have reduced latency also. About previus commit, it maybe a modified ingen-e3s-v1.33 script that is broken, and not the original version, can't tell 2017-05-21 02:11:53 +01:00
UbitUmarov 6c79cc652b some conditional dispose on http requests inputstream 2017-05-08 00:54:17 +01:00
UbitUmarov 604b966d84 some conditional dispose on http requests inputstream 2017-05-08 00:40:15 +01:00
UbitUmarov 11f6d28a06 fix merge 2017-05-07 04:21:33 +01:00
UbitUmarov d0912b6151 let StreamReader be in using statements 2017-05-07 00:47:45 +01:00
UbitUmarov 832ca518d7 fix merge 2017-05-03 03:52:55 +01:00
UbitUmarov 1b8c71c965 give more information on Fatal Error during region startup 2017-04-26 16:15:33 +01:00
UbitUmarov a680d8b8d7 fix merge 2017-04-25 17:59:53 +01:00
Melanie Thielker adcb1d8798 Allow setting the stats log file location in OpenSim.ini rather than app.exe.config 2017-03-31 14:38:41 +01:00
UbitUmarov 254b26a7d5 fix merge 2017-01-05 19:32:57 +00:00
Melanie Thielker b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
UbitUmarov 5fc3605955 some cleanup, use more using(), more checks so http request mem stream is closed 2016-12-30 07:15:28 +00:00
UbitUmarov 8114ff9d06 Merge branch 'master' into httptests 2016-12-09 04:50:07 +00:00
UbitUmarov 30dccd57cd provide remote SSLcommonName to xmlRpcRequest methods, but in a away it can be detected/parsed. This is used by some external modules like DTLNSLMoneyServer. But this module does need to change on this ( and it cannot override default validation rules, it needs to do it on its httplistener with method provided in previus commits 2016-12-09 04:32:59 +00:00
UbitUmarov 6627da693e suport client certificate validation per listenner, with a supplied static callback 2016-12-09 04:07:06 +00:00
UbitUmarov 18ff3eb227 JsonRpc: don't try to connect to a empty uri 2016-12-08 23:56:14 +00:00
UbitUmarov 806e75eefb remove not needed sslport parameter 2016-12-08 23:39:55 +00:00
UbitUmarov 3a81642d97 add SSL certs validation options for regions to allow simple encriptation without any peer autentification using simple homemade (or even shared) certs. 2016-12-07 13:30:07 +00:00
UbitUmarov 80d4f76d18 keep a unsecure http port up for external services (datasnapshot search). Only fire poolservices on main http listener 2016-10-09 20:18:20 +01:00
UbitUmarov 5b946405a0 changes to regions ssl suport: verify if hostnames are validate by the selected cert, make clear that for now all regions need to have the same ExternalHostName if using sll (due to other code that needs to be changed later) 2016-10-09 01:01:52 +01:00
UbitUmarov b51739e23e recover regions main http server ssl suport. Using a PKCS12 cert file, and not certs store for now. Option http_listener_cn, cert CN need to the same as external IP. Self sign certs do seem to work, but the viewers option NoVerifySLLCert needs to be set true. CA check is not done but they do check the IP 2016-10-06 21:35:11 +01:00
UbitUmarov 4f9378bf97 remove reuse context code, they had notthing worth using and on original code when reusing contexts still in use, etc. Change DLL information to make clear it is a opensim fork, so our responsability not original author 2016-09-03 08:50:22 +01:00
UbitUmarov 9aec227767 Merge branch 'master' into httptests 2016-09-03 07:51:53 +01:00
UbitUmarov 35cc0420c8 fix a use of string Trim() 2016-08-24 00:20:45 +01:00
UbitUmarov 0f4d54b8b2 put back the dangerous resp.ReuseContext = true option, that for some odd reason OSgrid nginx configuration seems to need 2016-08-21 20:52:31 +01:00
UbitUmarov 376084a2e5 Merge branch 'master' into httptests 2016-07-27 23:39:50 +01:00
UbitUmarov 01289b9c2d first step removing MegaRegions: refuse to run. Thanks to all that made MegaRegions possible, they where a important OpenSim feature, but can no longer be mantained 2016-07-27 23:13:24 +01:00
UbitUmarov 442b272228 add a Drop method to PollService Event handlers, Drop requests on connections known to be lost or delay event check if they are sending a response 2016-07-17 13:20:56 +01:00
UbitUmarov 6a02ac634b identify contexts by ID now avaiable ( pipeline serialization) 2016-07-17 11:39:38 +01:00
UbitUmarov f636ef037a http send is blocking, so we need we need to do it async in all cases. - this will need revision after server changes 2016-07-16 20:23:30 +01:00
UbitUmarov c9bd6ff94b disable OSHttpTests that will collide with testing new http server changes 2016-07-15 15:54:54 +01:00
Diva Canto e0a82a82de "reverting" the keep alive changes brought in from avination, to check if that's what's making osgrid fail. This is not really reverting, it's more manually resetting some places (not all) where keep alive is set. 2016-06-14 08:58:37 -07:00
Diva Canto ab12a14279 Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global replace anymore. 2016-02-21 11:14:02 -08:00