Commit Graph

569 Commits

Author SHA1 Message Date
UbitUmarov
fddb3761a0 use some shared char arrays on string split 2022-10-19 01:38:25 +01:00
UbitUmarov
0df9802aa3 use 'in' on PollService event args 2022-10-16 17:36:17 +01:00
UbitUmarov
51970c6f28 dotnet claims sslv2 and 3 are not supported 2022-10-02 20:51:40 +01:00
UbitUmarov
2112665133 http cookies are gone 2022-10-02 11:40:29 +01:00
UbitUmarov
31fa8b45df minor cleanup 2022-09-20 21:32:10 +01:00
UbitUmarov
bac942562a mantis 8998: guard potencial null ref 2022-05-15 04:50:00 +01:00
UbitUmarov
d3ec735283 clamp/limit a few things; a few cosmetics on animation control 2022-04-15 02:01:54 +01:00
UbitUmarov
6073d1a9c3 add TLS 1.3 to OSHttpListener default ssl protocols if compiling in .net4.8 2022-03-30 15:13:20 +01:00
UbitUmarov
3d705fefa2 use osutf8 on some http headers parse 2022-03-16 15:56:00 +00:00
Vincent Sylvester
13dbbc2683 Remove tabs, indent code properly
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2022-03-13 13:15:05 +00:00
UbitUmarov
e043d8a2eb use array.Empty<byte> 2022-03-12 15:21:24 +00:00
UbitUmarov
22e9f41502 move to version 0.9.2.2 2022-03-01 16:00:52 +00:00
UbitUmarov
fbbcc1edd7 == string.Empty is .Lenght == 0 2022-01-13 20:31:52 +00:00
UbitUmarov
6595e3ae26 cosmetics 2022-01-13 13:59:41 +00:00
UbitUmarov
3f584dbf12 add auxiliar httpresponse.Redirect(string url, [HttpStatusCode redirStatusCode = HttpStatusCode.Redirect]) 2021-12-20 11:07:26 +00:00
UbitUmarov
a0e039e876 useless ms xml things 2021-12-14 16:04:45 +00:00
UbitUmarov
573a2432f7 move master to 0.9.2.1 Dev 2021-12-04 23:58:50 +00:00
UbitUmarov
06c8893357 some changes on oshttp send control 2021-09-15 15:14:12 +01:00
UbitUmarov
f085e9a5e8 cosmetics 2021-09-05 20:25:36 +01:00
UbitUmarov
34b6998cfd a few more changes on oshttp response 2021-09-05 14:18:10 +01:00
UbitUmarov
affaacb279 a few more changes to oshttp send 2021-09-04 14:49:42 +01:00
UbitUmarov
52753972ee oshttp send: modern TAP is still just a complex wrapper of 'obsolete' APM hidding at IL level, so just use the 'obsolete' 2021-09-04 13:55:56 +01:00
UbitUmarov
aa796bb443 'cosmetics' 2021-09-02 21:36:28 +01:00
UbitUmarov
f5e0459e08 test changes on oshttpserver responses send 2021-09-02 04:49:22 +01:00
UbitUmarov
af4dacee53 a few typos 2021-09-01 16:37:28 +01:00
UbitUmarov
c77fa98640 make MAXCONTENTLENGHT a constant 2021-09-01 15:51:18 +01:00
UbitUmarov
98afe851ee jsonSimStats: fix null ref when region not found; limite http content lenght; cosmetics 2021-09-01 15:45:23 +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
UbitUmarov
c295deb262 Merge branch 'master' of ssh://opensimulator.org:/var/git/opensim 2021-03-18 18:45:28 +00: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
68f3e64370 potencial issue on some http header packets 2021-03-15 15:28:15 +00:00
UbitUmarov
48060e1c38 move poll service work threads to objectjobengine, mb not that good, except iddle regions ofc 2021-01-09 14:00:50 +00:00
UbitUmarov
fa26f37a17 http server receiver: go back to simpler and lighter Beginread/endread. async/await is still just a slower wrapper around it, with more unpredictable side effects 2021-01-05 22:14:51 +00:00
UbitUmarov
bfb2b3a23e revert changing the http server control thread. The main.net pool one cames with tons of crap on stack 2021-01-04 20:53:11 +00:00
UbitUmarov
d6747f872d test: change http send control to a main pool thread 2020-12-29 23:53:09 +00:00
UbitUmarov
90ef92158a several changes to lsl http urlmodule; X-SecondLife-Region change is in global coords not grid, etc, mantis 8823 sould be fixed at least untly next viewers changes 2020-12-09 14:46:55 +00: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
e894b4cafc update libomv and apply necessary related changes 2020-10-06 17:29:01 +01: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
592b94d142 some changes on Dispose 2020-08-09 00:20:50 +01:00
UbitUmarov
0c716cbd73 remove async await no longer used 2020-07-24 19:24:34 +01:00
UbitUmarov
e08ca7402c reduce default http keepalive to just 30s because to viewers connections flood. 2020-07-24 19:19:16 +01:00
UbitUmarov
d9a680703f cosmetics on http server 2020-07-24 17:12:38 +01:00
UbitUmarov
4bc74139a4 dispose prematurely discon sockets 2020-07-15 19:15:11 +01:00