aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/WebUtil.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)2011-10-251-31/+29
| | | | | | | | | of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
* minor: remove whitespaceJustin Clark-Casey (justincc)2011-07-131-1/+0
|
* Remove an unused 404 checker since on a 404, GetResponse() throws a ↵Justin Clark-Casey (justincc)2011-07-131-3/+0
| | | | WebException rather than proceeding.
* if a SynchronousRestObjectRequester request fails, then unless it's due to a ↵Justin Clark-Casey (justincc)2011-07-131-0/+11
| | | | | | | 404, log the exception for diagnostic purposes This is instead of logging "Invalid XML" for all failures, even if they weren't a result of invalid xml. A default TReponse is returned in the event of a 404, which is the same behaviour as previously.
* Remove the obsoleted SynchronousRestObjectPosterJustin Clark-Casey (justincc)2011-07-131-9/+0
|
* Changed yet more Warns to Debugs.Diva Canto2011-05-141-4/+4
|
* Also changed a couple of messages in WebUtil from Wanr/Info to Debug.Diva Canto2011-05-141-2/+2
|
* Stop spamming Nebadon's console when assets aren't found in the asset server.Diva Canto2011-05-141-1/+4
|
* Hopefully this fixes offline messages. The problem was: the server is not ↵Diva Canto2011-05-121-7/+2
| | | | setting the ContentLength of the response. That comes up to OpenSim as ContentLength=-1, which made the existing test fail.
* One more thing printed out. #OfflineIMDiva Canto2011-05-121-4/+1
|
* Instrument the heck out of offline messages. THIS IS VERY VERBOSE.Diva Canto2011-05-121-0/+16
|
* One more debug message for offline IMs.Diva Canto2011-05-121-1/+2
|
* Sequencing the using and try clauses as they were before, but this shows ↵Diva Canto2011-05-121-7/+7
| | | | that that obsolete function is not catching 404's as it should...
* Bummer, can't print the data I wanted to see. Printing just the context.Diva Canto2011-05-121-9/+1
|
* Tracking a problem with offline IMs coming in as null list.Diva Canto2011-05-121-6/+19
|
* This makes compression of fatpacks actually work. Previously they always ↵Diva Canto2011-05-111-7/+7
| | | | failed. See comment in WebUtil.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2011-05-081-0/+5
|\
| * Also compress the actual fatpacksMelanie2011-05-081-0/+5
| |
* | Fix content-type to be application/x-www-form-urlencodedDiva Canto2011-05-081-1/+1
|/
* Enable compressed (gzip) fatpack transfers.Melanie2011-05-081-8/+35
|
* Turns out that it's a bad idea to let Agent position updates linger for a ↵Diva Canto2011-05-021-9/+9
| | | | long time on certain versions of mono. It's better to abort them if they take too long. So timeout is now an argument. Currently: 20secs for CreateAgent, 100secs for UpdateAgent (fat), 10 secs for UpdateAgent (Position); all of these divided by 4, for ReadWrite, as Mic had before.
* Increased Timeout to 30 secs.Diva Canto2011-04-301-3/+3
|
* Removed XXX Debug. Increased ReadWriteTimeout on ServiceOSDRequest, because ↵Diva Canto2011-04-301-12/+3
| | | | it was _way_ too low and is probably making writes abort in the middle.
* XXX DEBUGGING!Diva Canto2011-04-301-1/+10
|
* More descriptive debug msg for ServiceOSDRequest failures.Dan Lake2011-04-161-2/+2
|
* Moved 3 request handlers from OpenSim.Framework.Servers.HttpServer up to ↵Diva Canto2011-04-121-0/+335
| | | | OpenSim.Framework -- just pasted them in WebUtil. This is so that code that uses the Service connectors don't need to include the HttpServer dll -- that was odd.
* Fix and simplify QBasedComparer.Marck2011-02-131-13/+7
| | | | Make parsing of qvalues independent from a system's language setting and ensure that the comparison adheres to a descending order.
* With mic's permission, adjust long call time info messages to 500ms from 200msJustin Clark-Casey (justincc)2011-01-191-1/+1
|
* Added more performance checks to the HTTP server. Each requestMic Bowman2011-01-051-47/+68
| | | | | coming through the WebUtil fns has a request id in the header that can match the request to the actual work done by the service
* Cleaned up debugging messages in the WebRequest handlersMic Bowman2011-01-031-5/+8
|
* Standardize the way WebRequests are made in the SimulationServiceConnector. ↵Mic Bowman2010-12-291-3/+165
| | | | | | Added debugging calls for tracking performance of web requests.
* Added ability for GetTexture to serve multiple formats. The format may come ↵Diva Canto2010-12-081-0/+81
| | | | as an extra query parameter in the URL format=<format> (this was tested and working) or it may come in the Accept header (code added, but not tested). The result of the conversion is placed in the asset cache, under the name <uuid>-<format>.
* * Tweaked WebUtil.PostToService() to help debug an object disposed exceptionJohn Hurliman2010-07-291-3/+4
|
* * SimianAssetServiceConnector Delete() was expecting the wrong type of ↵John Hurliman2010-06-241-1/+1
| | | | | | response, reporting false errors * Fixed a typo in a WebUtil error message
* * Better error logging for failed SimianGrid web service callsJohn Hurliman2010-04-221-3/+8
|
* * Fixed a bug with null value handling in WebUtil.BuildQueryString()John Hurliman2010-03-261-2/+6
| | | | | * Changed the null check back in estate manager setup but fixed the case for an existing account being found * Implemented SetPassword() in the SimianGrid auth connector
* Formatting cleanup. Add copyright notices.Jeff Ames2010-03-101-1/+28
|
* * Added three new helper utility files to OpenSim.Framework. MultipartForm ↵John Hurliman2010-03-031-0/+330
is used for constructing multipart/form-data requests. UntrustedWebRequest places sanity checks and policy on requests to HTTP endpoints that are not in the same trust domain (useful for Hypergrid, OpenID, etc). WebUtil contains misc. functions for managing URLs and network streams