aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RestClient.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-20Change some minor log messages to debug level in Rest client code.AliciaRaven1-2/+2
2015-09-04Deleted OpenSim.Framework.Communications. Moved its two remaining files to ↵Diva Canto1-1/+1
OpenSim.Framework.
2015-09-04Deleted old unfinished code under Framework.Communications that wasn't being ↵Diva Canto1-0/+154
used anywhere. Also folded GenericAsyncResult into RestClient, since it is used only there. This is preparation to remove Framework.Communications entirely.
2015-09-03 at last we can login and see objects ( friends is dead and disable inUbitUmarov1-7/+1
scenepresence)
2015-09-02seems to compile ( tests comented out)UbitUmarov1-29/+0
2014-12-20Make sure we always dispose of disposables inside RestClient.Request()Justin Clark-Casey (justincc)1-26/+30
2014-12-20minor: Correct propery doc RestClient._resource spelling mistakeJustin Clark-Casey (justincc)1-1/+1
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)1-1/+1
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-09-17add some _response.close. RestClient still looks bad. It should be aUbitUmarov1-0/+6
proper IDisposable object.
2014-09-17dispose some tmp streamsUbitUmarov1-14/+18
2014-07-21Log RestClient requests similarly to WebClient (e.g, "debug http all 6" logs ↵Oren Hurvitz1-6/+30
the entire request and response)
2014-07-21Close streams immediately when we finish using themOren Hurvitz1-1/+28
2014-07-09Turn RestClient.Request() logging down the debug and comment out for now.Justin Clark-Casey (justincc)1-5/+5
2014-05-30Add a 0 parameter overload for RestClient.Request() for use when no auth is ↵dahlia1-0/+8
required. This preserves API compatibility for external modules using this function.
2014-05-23Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto1-4/+25
2014-04-03Reduced log levels for REST 404 errors to DEBUGOren Hurvitz1-1/+2
2014-04-03Better error messages in RestClientOren Hurvitz1-3/+2
2012-09-30Revert "Added request.Proxy=null everywhere, as discussed in ↵Diva Canto1-2/+0
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow." But the patch is here, in case anyone wants to try it. This reverts commit 531edd51d82ecd6a842a2611c99e9919634491ef.
2012-09-30Added request.Proxy=null everywhere, as discussed in ↵Diva Canto1-0/+2
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow. Thanks R.Gunther (rigun@rigutech.nl) https://lists.berlios.de/pipermail/opensim-users/2012-September/010986.html
2010-08-03Drop the RestClient timeout from 15 minutes to 30 seconds. This does not ↵Tom1-1/+1
address the problem, but it will allow the regions to recover in the event that the remote server goes away.
2009-10-21* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman1-1/+1
Util.FireAndForget() * Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
2009-10-19* Removed OpenSim.Data.NHibernateJohn Hurliman1-1/+1
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
2009-10-09Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman1-3/+3
contain an unmanaged resource that will not automatically be disposed when they are GCed), and commenting out some ManualResetEvents that are not in use yet
2009-10-06Corrected words in error message.Diva Canto1-2/+2
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-03-06* Protects RestClient from crashing with dictionary exception, which leads ↵Sean Dague1-2/+24
to the client thread crashing if uncaught.
2009-02-25Distinguish 404 errors in RestClient.Request().Mike Mazur1-2/+10
Mantis #3225.
2009-02-12* optimized usings.lbsa711-1/+1
2009-01-21Set request method for REST requests with no input.Mike Mazur1-0/+1
2008-08-31Attempt to fix an issue I havebeen seeing, where asset server failureMelanie Thielker1-1/+12
results in a memory leak which will make the region crash and burn after a while.
2008-06-27dr scofield's warning safari:Dr Scofield1-4/+5
* commented out [Obsolete(....)] attributes where no replacement feature was available: if we want to attribute code that we think needs to be reworked, we should define a new attribute and use that instead (together with a little tool to retrieve all the attributed code then) * commenting out unused variables
2008-06-13* minor: comment out confusing DefaultTimeout field in RestClient, which is ↵Justin Clarke Casey1-1/+1
currently not actually used
2008-05-20Add copyright notices.Jeff Ames1-0/+27
Fix spelling typo (Thanks ChrisDown for pointing this out)
2008-05-16Formatting cleanup.Jeff Ames1-6/+6
2008-05-13* As part of the region registration process, the grid service now requests ↵Justin Clarke Casey1-9/+9
the status of the region using the region http uri just passed in * If the status cannot be retrieved, then the region startup will terminate. * The aim of this is for earlier detection of situations where the region can send messages out but cannot accept incoming requests (often due to firewall issues) * This is currently an extremely simplistic check which completely trusts whatever http uri is given by the region * This contact may be problematic, though since the user service needs to be able to contact the region http uri, it doesn't seem unreasonable for the grid to have to be able to do so too at this stage * This change will require a prebuild
2008-05-02Update svn properties.Jeff Ames1-367/+367
2008-05-01* Breaking all the code, breaking all the code..!Adam Frisby1-2/+2
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01* Cleaned namespaces of entire solution. OpenSim directories now correspond ↵Adam Frisby1-395/+368
with namespaces.
2008-04-30* Spring cleaned a bunch of '//TODO: unused' marked functions.Adam Frisby1-54/+0
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-2/+3
(this took a while to run).
2008-03-25Comment out unused private methods.Jeff Ames1-49/+52
2008-03-18Formatting cleanup.Jeff Ames1-26/+25
2008-03-12* Add comments and slight corrections to ClientView.AgentTextureCachedJustin Clarke Casey1-2/+2
* Reduce 'asset not found' console debug spam
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames1-3/+3
2008-02-05Converted logging to use log4net.Jeff Ames1-6/+8
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-04First part of avatar persistence, currently only really works in standalone ↵MW1-0/+1
mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed. To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure). This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. But the work to move the code to one of the grid servers shouldn't be too much.
2008-01-15* Mother of all commits:Adam Frisby1-1/+1
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2007-12-27* Optimized usingslbsa711-8/+8
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-11added copyright noticesJeff Ames1-0/+28
2007-12-03minor meaningless changesJeff Ames1-2/+2