Commit Graph

248 Commits

Author SHA1 Message Date
UbitUmarov
9d08f8307e recover LLSD login handler 2020-04-27 14:35:19 +01:00
UbitUmarov
8900d1139e xmlrpc and josonrpc only allowed on uri root, and only those there 2020-04-26 23:05:27 +01:00
UbitUmarov
6050eff683 improve show http-handlers 2020-04-26 21:51:15 +01:00
UbitUmarov
473dba93e8 update show http-handlers 2020-04-26 17:03:16 +01:00
UbitUmarov
e0418da6e1 change region avatarhandlers 2020-04-26 16:54:58 +01:00
UbitUmarov
dcc2f764f2 add a /index.php fake handler, for map. only does ?method=.. but can be extended) 2020-04-25 23:24:00 +01:00
UbitUmarov
70d2878d0a simplify default 404 message, removing wrong(missing) host info 2020-04-25 21:13:54 +01:00
UbitUmarov
7f2cfe734b null uri path is already checked at low level 2020-04-25 14:10:59 +01:00
UbitUmarov
eae9928961 null method is already checked at low level, remove optional status 500 message 2020-04-25 13:45:45 +01:00
UbitUmarov
bac6890391 we can speedup some not simple StreamHandler a bit 2020-04-24 18:14:41 +01:00
UbitUmarov
8d2f90a8e2 let show http-handlers list simpleStreamHandlers 2020-04-24 00:24:02 +01:00
UbitUmarov
10988fe980 exclude root path from SimpleStremHandler 2020-04-23 18:29:45 +01:00
UbitUmarov
0fe51f34c2 add SimpleStrem(Request)Handler, for simple uripaths, any method or query 2020-04-23 18:23:43 +01:00
UbitUmarov
e818c570bb expose uripath 2020-04-23 18:16:56 +01:00
UbitUmarov
fefcda52f5 use concurrentdic on pollhandlers, simplify a bit 2020-04-23 16:04:54 +01:00
UbitUmarov
212c25f906 fix http version 2020-04-22 00:00:24 +01:00
UbitUmarov
1c6d454691 remove excess garbage 2020-04-10 22:52:25 +01:00
UbitUmarov
c99014991b cosmetics 2020-04-09 13:41:41 +01:00
UbitUmarov
67cd5efab3 replace external httpserver by embedded one (based on same code) - This may still be very bad; clean solution and runprebuild, or clone to clan folder 2020-04-02 21:44:34 +01:00
UbitUmarov
e558dd3ac6 update httpserver.dll this needs testing. May not be that nice... 2020-03-31 21:43:40 +01:00
UbitUmarov
8d8b5b756f mantis 8663: add CertificateValidationCallback set. Thanks Manni 2020-02-18 20:23:14 +00: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
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
d179b2dda1 avoid data references stuck in packet pools 2018-11-25 18:38:37 +00:00
UbitUmarov
5b5e53aa1d we should only have one http poll service manager per instance 2018-11-03 11:43:47 +00:00
UbitUmarov
ca404e5001 some cleanup 2018-09-12 13:48:29 +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
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
7d58b73bbc some changes on pollevent 2017-06-06 21:55:47 +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
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
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
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
806e75eefb remove not needed sslport parameter 2016-12-08 23:39:55 +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