Commit Graph

9 Commits

Author SHA1 Message Date
Justin Clark-Casey
95171c877d Rename DownloadManager.QueueDownlad() -> QueueDownload() 2014-10-28 23:50:59 +00:00
Justin Clark-Casey
01d07d5ab1 Fix regression where downloads via capabilities would never take place.
In 2208379 (Mon Aug 11 23:57:33 2014), DownloadManager.ParallelDownloads was accidentally set to 0 instead of 8.
This commit also try/catches the parallel part of AppearanceManager.DownloadTextures()
2014-10-28 23:43:44 +00: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
Latif Khalifa
ae112d56fb Update copyright notices 2014-02-25 15:31:10 +01:00
Latif Khalifa
7608560be2 Remove verbose debug 2013-07-18 23:30:05 +02:00
Latif Khalifa
6cb053e1df Use fewer parallel downloads due to the new restrictions on http services on SL 2013-03-30 15:31:00 +01:00
Latif Khalifa
b190b0b542 Prune duplicate request for texture downloads and just register callbacks instead of making a full request.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3553 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-09 11:32:09 +00: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
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