Latif Khalifa
2654337297
Change copyright year a bit ahead of time
2015-11-06 19:40:28 +01:00
Latif Khalifa
f47dcb5abd
Change domain name to openmetaverse.co
2015-11-06 19:00:05 +01:00
Justin Clark-Casey
2208379c90
Introduce Settings.HTTP_MAX_CONNECTIONS to regulate maximum connections to specific endpoints for capability requests.
...
Previously, CapsBase.SetupRequest() hardcoded this to 32 and DownloadManager.ParallelDownloads was setting this with a default value of 8.
This meant that the ConnectionLimit would oscillate rapidly between these two figures as requests were made.
On Mono 3.2.8 and quite possibly other Mono, this appears to increase the chance that the VM will crash under heavy request load.
This commit makes both SetupRequest() calls use the static Settings.HTTP_MAX_CONNECTIONS - other static settings already exist, and so also makes this configurable.
DownloadManager.ParallelDownloads remains a separate setting since it also governs max parallel downloads through a separate coded mechanism.
2014-08-11 23:57:33 +01:00
Justin Clark-Casey
5f94bda11f
Dispose of HttpWebResponse explicitly in CapsBase.GetResponse()
...
Current code does not but all IDiposable objects should be disposed.
2014-08-04 20:26:10 +01:00
Latif Khalifa
ae112d56fb
Update copyright notices
2014-02-25 15:31:10 +01:00
Latif Khalifa
fb61269e42
Potential fix for capabilities fetching under mono by PocketMetaverse
2013-06-15 23:34:01 +02:00
Latif Khalifa
014f5da3f0
Don't reduce number of concurrent downloads set elsewhere.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3495 52acb1d6-8a22-11de-b505-999d5b087335
2011-04-10 14:02:35 +00:00
Latif Khalifa
b277032d03
Turns out Mono's gzip http compression is not very reliable.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3494 52acb1d6-8a22-11de-b505-999d5b087335
2011-04-09 13:00:57 +00:00
Latif Khalifa
95a7303d90
Tell server we support compressed responses if they do.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3490 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-31 02:51:13 +00:00
Latif Khalifa
549cf94404
LIBOMV-838: Added support for HTTP texture downloads
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3436 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-20 10:45:09 +00:00
Latif Khalifa
0dc8e91fed
LIBOMV-840: Add method for downloading arbitrary binary data to CapsBase
...
* added DownloadDataAsync() that allows you to create your own custom HttpWebRequest
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3355 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-25 19:53:38 +00:00
Latif Khalifa
6871439ea2
LIBOMV-837: Dont't dispose objects we're sending via callback
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3352 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-24 10:55:34 +00:00
John Hurliman
06939fa7ad
* Removed OpenMetaverse.Http
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3294 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:01:01 +00:00
John Hurliman
364c2c26d9
* Moved all capabilities code to the new library, OpenMetaverse.Http
...
* OpenMetaverse.Http contains a CAPS client + server, event queue client + server, SSL certificate generation (root CA, server certs, client certs), and client certificate authentication
* HttpServer.dll and Mono.Security.dll are new dependencies for OpenMetaverse.Http.dll
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2400 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-29 20:44:28 +00:00
John Hurliman
23a25709a9
* Rolling CAPS implementation back to the synchronous version until we can figure out how to fix the TeleportFinish replay bug in the async
...
* Removing some debug noise
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2095 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-16 06:30:08 +00:00
John Hurliman
99239ebcfc
* Splits libomv into OpenMetaverseTypes.dll and OpenMetaverse.dll
...
* All MathUtils and non-SL-specific Helpers functions have been put in OpenMetaverseTypes.dll inside the Utils class. Helpers only contains SL-specific functions now
* LLSD encoding/decoding for custom types has been moved out of the types and implemented as static functions in the LLSD class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2082 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 22:38:02 +00:00
John Hurliman
27294ece8e
ThreadPool.RegisterWaitForSingleObject() doesn't appear to be working with an IAsyncResult.AsyncWaitHandle from HttpWebRequest.BeginGetResponse() on Mono 1.9.1. Switching to IAsyncResult.AsyncWaitHandle.WaitOne()
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2023 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 23:29:03 +00:00
John Hurliman
71837bfcf6
* Adding Helpers.GetRunningRuntime() to detect Mono vs. .NET runtime
...
* Cross-platform hack to get CAPS working reasonable on both Mono and Windows
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2020 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 20:05:43 +00:00
John Hurliman
117d4c7f4f
Switched CapsBack to use an asynchronous method for fetching the server response, so clients no longer have to wait for event queues to timeout before exiting
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2019 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 19:45:36 +00:00
John Hurliman
926e34b627
Adding an overly verbose debug line to look into Content-Length issues with CAPS on Mono
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2016 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 05:17:01 +00:00
John Hurliman
c1f3d6a3c2
Renaming libsecondlife folder to OpenMetaverse. Part of a multi-step process, do not check out this revision!
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1957 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 22:56:05 +00:00