Commit Graph

490 Commits

Author SHA1 Message Date
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
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
1b8999b130 try to work around robust shutdown/quit blocking on mono 2019-03-12 11:14:59 +00:00
Robert Adams
bd1b992aaf Add Thread.ResetAbort() to various thread loops to clean up errors on
shutdown. Fixes Mantis #8494.

Threads are aborted when shutting down and ThreadAbortException is odd
in that it is rethrown at the end of the catch unless the abort is
reset. No functional changes but fewer error messages on shutdown.
2019-02-27 07:49:52 -08: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