Commit Graph

42 Commits (8d272fb1d08275e4416c08fc82c054825d427467)

Author SHA1 Message Date
UbitUmarov 79234795fd avoid a data copy 2018-12-03 10:17:22 +00:00
UbitUmarov 292a9c9cd7 update httpserver.dll 2018-10-30 23:24:59 +00:00
UbitUmarov f29358744d fix http keep alive header 2018-04-20 09:23:30 +01:00
UbitUmarov 4381f16e18 keepalive is default 2018-01-30 08:15:42 +00:00
UbitUmarov e7b834874e another change to httpserver dll 2018-01-24 04:12:27 +00:00
UbitUmarov 3f7ffc12c4 reduce max keepalime time to 60s 2018-01-24 03:10:11 +00:00
UbitUmarov 3c3b8fc759 testing update httpserver.dll to .net4.6 2018-01-12 03:07:51 +00:00
UbitUmarov e4747b938b update httpserver 2017-08-28 13:33:37 +01:00
UbitUmarov a2c824e124 get back to .net4.0 for now 2017-05-27 13:56:28 +01:00
UbitUmarov 2603363e3e update test httpserver, be more tolerant on protocols 2017-05-27 12:51:32 +01:00
UbitUmarov 774e00b3ee merge 2017-05-20 17:02:25 +01:00
UbitUmarov f358b39ef5 update httpserver 2017-05-08 04:00:47 +01:00
UbitUmarov 5fc3605955 some cleanup, use more using(), more checks so http request mem stream is closed 2016-12-30 07:15:28 +00:00
UbitUmarov 4bdf89d59b update httpserver muting some socket errors that are normal 2016-12-19 09:07:17 +00:00
UbitUmarov 6627da693e suport client certificate validation per listenner, with a supplied static callback 2016-12-09 04:07:06 +00:00
UbitUmarov 9df95afd86 update httpserver 2016-12-02 13:54:11 +00:00
UbitUmarov 6b017f94ea update httpserver dll fixing a memory leak 2016-11-27 15:23:08 +00:00
UbitUmarov 606e9f99f3 forgot the dll 2016-09-03 08:52:15 +01:00
UbitUmarov 6a02ac634b identify contexts by ID now avaiable ( pipeline serialization) 2016-07-17 11:39:38 +01:00
UbitUmarov c802368c86 replace http server with test version 2016-07-17 10:49:59 +01:00
UbitUmarov 5143bbc9d6 mantis: 7936 replace httpServer_OpenSim.dll with a new one restoring some checks lost in last update 2016-06-28 14:01:16 +01:00
Diva Canto 1065a4c1e4 Replace the http server dll with the right pair dll + xml 2016-06-23 07:55:50 -07:00
Melanie Thielker a2e4beea86 Update HttpServer_OpenSim.dll to fix an inventory loading bug. 2016-06-23 15:20:07 +02:00
Diva Canto 43d804b998 New HttpServer_OpenSim.dll with increased limits on number of connections, requests, etc. 2013-06-04 12:27:22 -07:00
teravus 6e1b3f9951 *Yet another HTTPServer update code changes in OpenSim Libs. * This fixes a connection close issue by getting rid of the socket references * This adds a connection timeout checker to shutdown poor or evil connections and combats DOS attempts that just connect and make no complete requests and just wait. It also actually implements KeepAlive... instead of just understanding the connection header in the request... you can test by connecting and requesting a keepalive header and sending another request on the same connection. The new timeout checker closes expired keepalive sessions, just make sure you send the request within 70 seconds of connecting or the timeout checker will timeout the connection. 2013-03-16 03:14:11 -04:00
teravus 42c533c589 * Updates HttpServer again to re-add the code that closes the stream and connection when It's done sending. Be on the lookout for an old linux/mono bug where the client doesn't get the last bit of the stream before it is disconnected!. Code on opensim-libs. All tests pass.. HttpServer's internal tests pass.. but just a bad feeling. More people should test :) 2013-03-14 00:57:42 -04:00
teravus 4867a7cbbf This is the final commit that enables the Websocket handler 2013-02-07 10:27:18 -05:00
teravus 1dc09d8e8f We're not really done here.. but we're getting there. Socket Read is working.. Still have to do Header.ToBytes and compose a websocket frame with a payload. 2013-02-05 18:02:25 -05:00
justincc f72c4bdba5 Replace HttpServer_OpenSim.dll with Oren Hurvitz's patch applied.
This will hopefully address mantis 5471, 5694 and 5718.
This code is now in opensim-libs, along with Diva's slightly older patches (which were already applied to the DLLs in the opensim tree).
Thanks Oren!
2011-11-18 22:52:59 +00:00
Justin Clark-Casey (justincc) 5e3893ca5c add the executable bit to all bundled DLLs so that these are preserved when using git or untarring releases under cygwin on windows
Mono doesn't care if the
2011-04-27 23:57:26 +01:00
Diva Canto 5d6d0aa142 Catch HttpServer exception: mantis #5381 2011-02-15 08:38:37 -08:00
Diva Canto 059e9eaf98 Fixed a couple of tests in the HttpServer. Not sure if this is enough. Mantis #5373 and #5384 2011-02-12 14:38:46 -08:00
Diva Canto cf72fece6d Replaced the HttpServer_OpenSim.dll with one compiled for .NET 3.5 (the last one was 4.0, and that doesn't work). Also added the corresponding .xml and .pdb, if that makes any difference. 2010-12-18 18:23:51 -08:00
Diva Canto d576d7c0a6 Replaced HttpServer_OpenSim.dll with a version that locks certain ops in HttpForm -- mantis #5128. 2010-12-18 17:36:37 -08:00
Teravus Ovares (Dan Olivares) 6bdb2e2848 Patch from jhurliman to HttpServer
Fixes cookie handling and header name casing in HttpServer
Currently, cookies are never being processed on incoming HTTP requests. This patch makes sure cookies are parsed and inserted into IHttpRequest.Cookies, and fixes incoming headers to always have lower-case names.
http://opensimulator.org/mantis/view.php?id=4052
2009-08-25 16:12:03 -04:00
Teravus Ovares (Dan Olivares) cd3b7bcb03 * Update HTTP Server with jhurliman's longheader fix. Changes 1024 with 4096. 2009-08-18 01:19:01 -04:00
Teravus Ovares 482e907520 * Reattempt at a compile 2009-07-30 22:21:14 +00:00
Teravus Ovares 23a8895d29 * Fixed another potential httpserver leak. 2009-07-30 18:16:00 +00:00
Teravus Ovares f727f26bcc * An attempt to fix mantis #3953 2009-07-29 20:32:54 +00:00
Teravus Ovares 032aeb8b5d * Adds the ability to have a thread efficient long poll service (such as the eventqueue)
* If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users.
* Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer
* Generic enough to be used for many long poll services, not only the EventQueue.
2009-07-29 02:15:45 +00:00
Teravus Ovares c243ae43f2 * Updated C# WebServer to the latest available source download (r19869) and applied a few mods from the old version (now up on opensim-libs (VS 3.5 project).
* Made various changes to BaseHttpServer to accommodate the new interfaces.
* This version has been significantly re-architected and may fail in unusual and insidious ways.  
* Please pay attention to any errors you get and post a Mantis if you can reproduce an issue with the HTTPServer.  I'm including the pdb and having the http server compiled in debug for a few weeks so that when an error occurs, it'll print the pertenant data.
* Once again, this is the full C# WebServer, not the lite branch that is included in LibOMV (we need SSL!)
2009-07-21 06:47:29 +00:00
Teravus Ovares 52c482a7a7 * This updates LibOMV to the current release 0.6.0 on March 19 2009
* Important:  HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder.
This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll.   It still uses the Same HttpServer namespace though.
2009-03-27 22:13:09 +00:00