Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-03-12 | Rename the stream extension method WebUtil.CopyTo() to WebUtil.CopyStream(). | Robert Adams | 1 | -1/+6 | |
.NET 4.0 added the method Stream.CopyTo(stream, bufferSize). For .NET 3.5 and before, WebUtil defined an extension method for Stream with the signature Stream.CopyTo(stream, maxBytesToCopy). The meaning of the second parameter is different in the two forms and depending on which compiler and/or runtime you use, you could get one form or the other. Crashes ensue. This change renames the WebUtil stream copy method to something that cannot be confused with the new CopyTo method defined in .NET 4.0. | |||||
2012-03-09 | Serialize all web requests to a particular host:port pair; only applied to ↵ | Mic Bowman | 1 | -0/+41 | |
the PostToService variants. | |||||
2012-02-27 | Some clean up in WebUtil, remove unused ServiceRequest function. | Mic Bowman | 1 | -71/+7 | |
2011-11-25 | remove some mono compiler warnings | Justin Clark-Casey (justincc) | 1 | -1/+1 | |
2011-11-19 | Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵ | Justin Clark-Casey (justincc) | 1 | -1/+1 | |
57956c4b-ff2e-4fc1-9995-613c6256cc98>: Invalid character 'O' in input string messages These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them. Also finally get the deregister grid service message working properly | |||||
2011-10-25 | Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵ | Justin Clark-Casey (justincc) | 1 | -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) | |||||
2011-07-13 | minor: remove whitespace | Justin Clark-Casey (justincc) | 1 | -1/+0 | |
2011-07-13 | Remove an unused 404 checker since on a 404, GetResponse() throws a ↵ | Justin Clark-Casey (justincc) | 1 | -3/+0 | |
WebException rather than proceeding. | |||||
2011-07-13 | if a SynchronousRestObjectRequester request fails, then unless it's due to a ↵ | Justin Clark-Casey (justincc) | 1 | -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. | |||||
2011-07-13 | Remove the obsoleted SynchronousRestObjectPoster | Justin Clark-Casey (justincc) | 1 | -9/+0 | |
2011-07-10 | Dammit, loggin the type of an exception without providing the FULL DUMP is NOT | Melanie | 1 | -0/+1 | |
going to help squash bugs! | |||||
2011-05-14 | Changed yet more Warns to Debugs. | Diva Canto | 1 | -4/+4 | |
2011-05-14 | Also changed a couple of messages in WebUtil from Wanr/Info to Debug. | Diva Canto | 1 | -2/+2 | |
2011-05-14 | Stop spamming Nebadon's console when assets aren't found in the asset server. | Diva Canto | 1 | -1/+4 | |
2011-05-12 | Hopefully this fixes offline messages. The problem was: the server is not ↵ | Diva Canto | 1 | -7/+2 | |
setting the ContentLength of the response. That comes up to OpenSim as ContentLength=-1, which made the existing test fail. | |||||
2011-05-12 | One more thing printed out. #OfflineIM | Diva Canto | 1 | -4/+1 | |
2011-05-12 | Instrument the heck out of offline messages. THIS IS VERY VERBOSE. | Diva Canto | 1 | -0/+16 | |
2011-05-12 | One more debug message for offline IMs. | Diva Canto | 1 | -1/+2 | |
2011-05-12 | Sequencing the using and try clauses as they were before, but this shows ↵ | Diva Canto | 1 | -7/+7 | |
that that obsolete function is not catching 404's as it should... | |||||
2011-05-12 | Bummer, can't print the data I wanted to see. Printing just the context. | Diva Canto | 1 | -9/+1 | |
2011-05-12 | Tracking a problem with offline IMs coming in as null list. | Diva Canto | 1 | -6/+19 | |
2011-05-11 | This makes compression of fatpacks actually work. Previously they always ↵ | Diva Canto | 1 | -7/+7 | |
failed. See comment in WebUtil. | |||||
2011-05-08 | Fix content-type to be application/x-www-form-urlencoded | Diva Canto | 1 | -1/+1 | |
2011-05-08 | Also compress the actual fatpacks | Melanie | 1 | -0/+5 | |
2011-05-08 | Also compress the actual fatpacks | Melanie | 1 | -0/+5 | |
2011-05-08 | Enable compressed (gzip) fatpack transfers. | Melanie | 1 | -8/+35 | |
2011-05-08 | Enable compressed (gzip) fatpack transfers. | Melanie | 1 | -8/+35 | |
2011-05-02 | Turns out that it's a bad idea to let Agent position updates linger for a ↵ | Diva Canto | 1 | -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. | |||||
2011-04-30 | Increased Timeout to 30 secs. | Diva Canto | 1 | -3/+3 | |
2011-04-30 | Removed XXX Debug. Increased ReadWriteTimeout on ServiceOSDRequest, because ↵ | Diva Canto | 1 | -12/+3 | |
it was _way_ too low and is probably making writes abort in the middle. | |||||
2011-04-30 | XXX DEBUGGING! | Diva Canto | 1 | -1/+10 | |
2011-04-16 | More descriptive debug msg for ServiceOSDRequest failures. | Dan Lake | 1 | -2/+2 | |
2011-04-12 | Moved 3 request handlers from OpenSim.Framework.Servers.HttpServer up to ↵ | Diva Canto | 1 | -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. | |||||
2011-03-31 | Make the login service's call to the sim time out quicker so we have a | Melanie | 1 | -4/+9 | |
chance to try fallback before the client quits | |||||
2011-02-13 | Fix and simplify QBasedComparer. | Marck | 1 | -13/+7 | |
Make parsing of qvalues independent from a system's language setting and ensure that the comparison adheres to a descending order. | |||||
2011-02-02 | Change the timeout on WebUtil to 20s to help make more tps succeed | Melanie | 1 | -4/+4 | |
2011-01-19 | With mic's permission, adjust long call time info messages to 500ms from 200ms | Justin Clark-Casey (justincc) | 1 | -1/+1 | |
2011-01-05 | Added more performance checks to the HTTP server. Each request | Mic Bowman | 1 | -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 | |||||
2011-01-03 | Cleaned up debugging messages in the WebRequest handlers | Mic Bowman | 1 | -5/+8 | |
2010-12-29 | Standardize the way WebRequests are made in the SimulationServiceConnector. ↵ | Mic Bowman | 1 | -3/+165 | |
Added debugging calls for tracking performance of web requests. | |||||
2010-12-08 | Added ability for GetTexture to serve multiple formats. The format may come ↵ | Diva Canto | 1 | -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>. | |||||
2010-07-29 | * Tweaked WebUtil.PostToService() to help debug an object disposed exception | John Hurliman | 1 | -3/+4 | |
2010-06-24 | * SimianAssetServiceConnector Delete() was expecting the wrong type of ↵ | John Hurliman | 1 | -1/+1 | |
response, reporting false errors * Fixed a typo in a WebUtil error message | |||||
2010-04-22 | * Better error logging for failed SimianGrid web service calls | John Hurliman | 1 | -3/+8 | |
2010-04-08 | Changed the GetTextureModule backport to work with the 0.6.9 codebase | John Hurliman | 1 | -361/+0 | |
2010-04-08 | Backported WebUtil.cs from master to 0.6.9-postfixes to fix the build break | John Hurliman | 1 | -0/+361 | |
2010-03-26 | * Fixed a bug with null value handling in WebUtil.BuildQueryString() | John Hurliman | 1 | -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 | |||||
2010-03-10 | Formatting cleanup. Add copyright notices. | Jeff Ames | 1 | -1/+28 | |
2010-03-03 | * Added three new helper utility files to OpenSim.Framework. MultipartForm ↵ | John Hurliman | 1 | -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 |