Commit Graph

495 Commits

Author SHA1 Message Date
UbitUmarov
fa844d7e6e add soem try/catch (and yes..yes right on last commit should hed been write... 2020-04-27 16:40:54 +01:00
UbitUmarov
0518b397a3 add SimpleOSDMapHandler, for caps that have just one httpmethod and body should be decoded as OSDMap, so we don't right the same things all pver 2020-04-27 15:46:31 +01:00
UbitUmarov
a3cd0cbfcb no need for stream hanlder description 2020-04-27 14:52:43 +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
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
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
ba8d188a0d remove another wrong ':' 2020-04-24 01:07:58 +01:00
UbitUmarov
8d2f90a8e2 let show http-handlers list simpleStreamHandlers 2020-04-24 00:24:02 +01:00
UbitUmarov
426d83c535 change SimpleStreamHandler to have a processor method argument 2020-04-23 22:30:40 +01:00
UbitUmarov
46162e620a change response content lengh when using rawbuffer 2020-04-23 22:28:27 +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
5a51553e7d missing file 2020-04-23 16:08:16 +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
1475b83699 risk reduncing iddle timeout again, because it is needed on current framework 2020-04-21 15:46:41 +01:00
UbitUmarov
50b81258a9 change event pool timeout handling 2020-04-21 00:19:19 +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
920a26eeec add request QueryFlags 2020-04-13 15:01:04 +01:00
UbitUmarov
b419f71a68 also expose the request client IP as seen by server port 2020-04-13 14:34:03 +01:00
UbitUmarov
e0ba96055c change osrequest Query back to hashtable, add QueryAsDictionary as new better option. (recover compatibily with current external modules 2020-04-13 14:24:22 +01:00
UbitUmarov
f95925e0fd http server change remote endpoint handling 2020-04-11 19:57:34 +01:00
UbitUmarov
7ce9f890b1 http server useless changes 2020-04-11 16:41:39 +01:00
UbitUmarov
0d940df4e2 http server: change uri query handling 2020-04-11 15:18:49 +01:00
UbitUmarov
1c6d454691 remove excess garbage 2020-04-10 22:52:25 +01:00
UbitUmarov
6fea9dafaf yeack increase TimeoutMaxIdle again for now 2020-04-09 18:43:55 +01:00
UbitUmarov
c99014991b cosmetics 2020-04-09 13:41:41 +01:00
UbitUmarov
f976d10de2 more changes on http server low level 2020-04-08 14:35:31 +01:00
UbitUmarov
29f59fe407 reduce httppipeline depth 2020-04-06 16:53:28 +01:00
UbitUmarov
0a4232430b remove some dead code 2020-04-03 03:54:32 +01:00
UbitUmarov
50b8c90b42 change response m_body send (currently not in use) 2020-04-03 03:20:47 +01:00
UbitUmarov
f1761a5b6c remove a log message under cond comp 2020-04-02 23:05:22 +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
817c2b3bb9 httpserver send is now async 2020-03-31 22:01:45 +01:00
UbitUmarov
e558dd3ac6 update httpserver.dll this needs testing. May not be that nice... 2020-03-31 21:43:40 +01: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