Commit Graph

59 Commits

Author SHA1 Message Date
UbitUmarov
fddb3761a0 use some shared char arrays on string split 2022-10-19 01:38:25 +01:00
UbitUmarov
51970c6f28 dotnet claims sslv2 and 3 are not supported 2022-10-02 20:51:40 +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
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
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
68f3e64370 potencial issue on some http header packets 2021-03-15 15:28:15 +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
bc1ea2ef3a cleanup 2020-10-01 02:10:32 +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
UbitUmarov
fe7d9625aa cosmetics 2020-07-13 06:16:11 +01:00
UbitUmarov
48892ad8a7 timestamp http requests 2020-05-15 23:40:19 +01:00
UbitUmarov
713c222ec8 remove some redundancy 2020-05-11 15:12:21 +01:00
UbitUmarov
a367828a85 clean a few more things before giving a socket to websockets. (this would happen later anyway) 2020-05-09 00:16:01 +01:00
UbitUmarov
41d7d2f2f4 do dispose requests in context queue 2020-05-02 17:32:14 +01:00
UbitUmarov
1ad3a256f2 do http requests serialization at lower level 2020-05-02 14:23:52 +01:00
UbitUmarov
80de74e127 cancel keepalive if http status not OK, this maybe a bit 2 hardm but ok for now 2020-04-25 14:27:44 +01:00
UbitUmarov
46162e620a change response content lengh when using rawbuffer 2020-04-23 22:28:27 +01:00
UbitUmarov
212c25f906 fix http version 2020-04-22 00:00:24 +01:00
UbitUmarov
1475b83699 risk reduncing iddle timeout again, because it is needed on current framework 2020-04-21 15:46:41 +01:00
UbitUmarov
43fdbf87d4 remove some useless code form http low level; delay normal connection close, to let client do it instead 2020-04-21 00:13:02 +01:00
UbitUmarov
e2f84f0c1f send 100 continue code the way ms seems to want 2020-04-16 02:13:03 +01:00
UbitUmarov
4ab8da01bc flush sslstreams in keepalive case ( should not be needed but well ) 2020-04-16 01:51:57 +01:00
UbitUmarov
e859985cfa actually commit the uri fix 2020-04-15 21:23:13 +01:00
UbitUmarov
a6abc3d2b6 mantis 8688: fix uri parsing in secure case ; add tls11 and tls12 to list of protocols (.net.46 ones) 2020-04-15 11:48:03 +01:00
UbitUmarov
b419f71a68 also expose the request client IP as seen by server port 2020-04-13 14:34:03 +01:00
UbitUmarov
f95925e0fd http server change remote endpoint handling 2020-04-11 19:57:34 +01:00