UbitUmarov
aa796bb443
'cosmetics'
2021-09-02 21:36:28 +01:00
UbitUmarov
68f3b4aef8
reduce LogFailedXML dump to console to just 250 chars.
2021-08-26 21:48:58 +01:00
UbitUmarov
a8b37363b6
mantis 8925: avoid log noise due to bad http requests
2021-08-06 16:38:57 +01:00
Oren Hurvitz
c1a3185df3
HTTP Request Handlers: log the responses (previously we only logged the requests).
...
Note that this is separate from WebUtil, which we use to *send* HTTP requests: that
class always logged both the request and the response. In contrast, this commit
handles HTTP requests that are sent to OpenSim's web server.
2021-03-17 16:42:08 +01:00
Oren Hurvitz
a96ebc952b
Log HTTP requests that arrive for SimpleStreamHandler's
2021-03-17 16:40:27 +01:00
UbitUmarov
3e113b4aec
xmlrpc http hander: remove another temporary string
2020-12-01 13:17:54 +00:00
UbitUmarov
4ad892e090
reenable keepalive local override, + cosmetics
2020-11-29 12:29:18 +00:00
UbitUmarov
5552716724
xmlrpc handler, remove a useless tmp string, that can be large, and implicit convertions to utf-16 and back to utf-8, make the serielization be already utf8
2020-11-28 20:52:05 +00:00
UbitUmarov
bc1ea2ef3a
cleanup
2020-10-01 02:10:32 +01:00
UbitUmarov
649e44792b
mantis 8762: my coffee was broken again
2020-09-06 16:33:07 +01:00
UbitUmarov
a12f03ece0
mantis 8762: let it be less broken
2020-09-05 19:11:15 +01:00
UbitUmarov
e1b234d9d0
change show uptime to 24hour format
2020-06-09 02:20:35 +01:00
UbitUmarov
b598573f41
fix DataSnapShot
2020-05-22 16:55:20 +01:00
UbitUmarov
7c0b3387dd
give up on simplehandler for root default get for now
2020-05-11 23:28:59 +01:00
UbitUmarov
c40b297fc7
(TEST) add a default root uri GET handler. this may be usefull for some cases.
2020-05-11 23:07:29 +01:00
UbitUmarov
713c222ec8
remove some redundancy
2020-05-11 15:12:21 +01:00
UbitUmarov
6d92b75452
more on end slash and uri handler determination
2020-05-11 13:01:27 +01:00
UbitUmarov
aafc6579a1
remove end slash from most URLs we send to viewers
2020-05-10 21:14:52 +01:00
UbitUmarov
c1d69018bd
some viewers send '//' at end of url plus cosmetics
2020-05-09 18:54:51 +01:00
UbitUmarov
72c1c923f8
SampleMoneyModule: add private xmlrpc methods
2020-05-08 14:50:46 +01:00
UbitUmarov
c2c00c5d84
add httpserver HandleXmlRpcRequests with local set of xlmrpc methods
2020-05-08 14:37:08 +01:00
UbitUmarov
bf218f2cef
make httpserver HandleXmlRpcRequests public
2020-05-08 05:26:25 +01:00
UbitUmarov
b5067baa4a
it is nice to actually send the options back
2020-04-27 17:40:55 +01:00
UbitUmarov
89dee19060
move httpMethod OPTIONS handling to top, this needs to be chacked
2020-04-27 17:25:55 +01:00
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