aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Tell QueryAccess explicitly whether the user is coming in via Teleport or ↵Oren Hurvitz2014-05-191-1/+5
| | | | | | Cross, because the permission checks are different. Previously we used a heuristic of checking if the entry position is 0 to differentiate between Teleport and Cross, but that doesn't work anymore since we've started providing the precise entry position for cross, too. That's required in order to ensure that the user is allowed to enter the parcel that he's walking into.
* Please note: older simulators (0.7.6) still send the info about gzip in ↵Diva Canto2014-05-041-2/+2
| | | | ContentType
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-091-3/+20
| | | | referrer)
* When sending QueryAccess to a region, also send the user's Home URIOren Hurvitz2014-04-071-2/+6
|
* Use the "X-Content-Encoding" header to indicate gzipped data, because old ↵Oren Hurvitz2014-03-251-2/+2
| | | | OpenSims fail if they get an unknown "Content-Encoding"
* Use the "Content-Encoding" header to indicate gzipped streamsOren Hurvitz2014-03-251-11/+8
|
* Change the auth token to be the user's sessionid.Diva Canto2013-07-141-1/+4
|
* Guard against unauthorized agent deletes.Diva Canto2013-07-131-5/+11
|
* Deleted GET agent all around. Not used.Diva Canto2013-07-131-59/+2
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-07-081-1/+1
|\
| * Print out caller IP when unusual requests are received.Diva Canto2013-07-071-1/+1
| |
* | Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)2013-07-081-2/+2
|/ | | | | | | | | to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
* Change IsLocalRegion from using region handle to using regionID. This was ↵Diva Canto2013-06-221-1/+0
| | | | affecting UpdateAgent and CloseAgent in cases where the foreign region is on the same coordinates as *some* local region.
* Finally moved HG agent transfers to use agent fatpacks.Diva Canto2013-06-211-26/+50
|
* Where this is not already happening, trigger asychoronous calls to ↵Justin Clark-Casey (justincc)2013-05-161-1/+1
| | | | | | | CloseChildAgent() above the LocalSimulationConnector level. This is so that other callers (such as SceneCommunicationService.SendCloseChildAgentConnections() can perform all closes asynchronously without pointlessly firing another thread for local closes). No functional change apart from elimination of unnecessary chaining of new threads.
* Removing unused handling of incoming create object by userID and itemID only.Justin Clark-Casey (justincc)2012-06-301-48/+0
| | | | | It appears this was never actually used since attachments were rezzed in other code. This was never available on remote simulator comms, only local.
* In remote QueryAccess, also receive the actual status (true|false) instead ↵Justin Clark-Casey (justincc)2012-05-251-2/+5
| | | | | | | | | | of always true no matter what the callee actually returned. This was due to two things 1) SimulationServiceConnector.QueryAccess was always looking to the outer result["success"]. But if a "_Result" map is returned (which is certainly the case right now), then the true success is _Result["success"], result["success"] is always true no matter what 2) If QueryAccess was false at the destination, then AgentHandlers.DoQueryAccess() was never putting this in the result. The default action of SerializeJsonString() is not to put false booleans in the JSON!!!, so this has to be explicitly set.
* Make ISimulationScene.GetScene() used the more efficient region id for ↵Justin Clark-Casey (justincc)2012-05-242-3/+3
| | | | lookup rather than the region handle.
* Minor sanity check on simulation agent handler (content type)Diva Canto2012-03-131-7/+12
|
* Add a position parameter to region crossing of objects. This avoids theMelanie2012-02-231-3/+7
| | | | | | potential bad update that places an object at the opposite side of the origin sim for a moment before actually crossing it. Especially important in grids like OSG where lag between sims is high.
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-051-2/+2
| | | | | | | | of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
* Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for ↵Justin Clark-Casey (justincc)2011-11-191-2/+2
| | | | | | | SendCreateChildAgent" message This is misleading since a simulator will call this method before successfully trying remote regions. Also comments out spammy "[SIMULATION]: Stream handler called" AgentHandlers messages for now.
* Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)2011-11-191-2/+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
* This makes compression of fatpacks actually work. Previously they always ↵Diva Canto2011-05-111-3/+2
| | | | failed. See comment in WebUtil.
* Revert "Functional improvement: close the stream. Non-functional: add debug ↵Diva Canto2011-05-111-19/+2
| | | | | | messages to find out why updates are getting an error. WARNING: MASSIVE CONSOLE SPAM ON TPs." This reverts commit 5548f837501184d68c352097ad1a1de566e18ca0.
* One more debug message. Don't use this unless your name is nebadon.Diva Canto2011-05-111-0/+3
|
* Functional improvement: close the stream. Non-functional: add debug messages ↵Diva Canto2011-05-111-2/+19
| | | | to find out why updates are getting an error. WARNING: MASSIVE CONSOLE SPAM ON TPs.
* Also compress the actual fatpacksMelanie2011-05-082-94/+171
|
* Remove a spammy debug I left in. Disable TP cancel button at the pointMelanie2011-05-081-1/+0
| | | | of no return.
* Enable compressed (gzip) fatpack transfers.Melanie2011-05-082-131/+191
|
* Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto2011-04-281-3/+6
| | | | the agent and all attachments. Preserves backwards compatibility -- older sims get passed attachments one by one. Meaning that I finally introduced versioning in the simulation service.
* Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie2011-02-161-2/+9
|
* Comment previous debugDiva Canto2011-02-081-3/+3
|
* XFF header again -- debug.Diva Canto2011-02-081-0/+5
|
* Fix a typo in the QUERYACCESS method nameMelanie2011-02-051-1/+1
|
* Fix up QueryAccess to also check parcelsMelanie2011-01-281-1/+8
|
* remove some mono compiler warnings and unnecessary dictionary instantiationsJustin Clark-Casey (justincc)2011-01-211-1/+1
|
* Account for some component along the way lower-casing the HTTP header keys. ↵Diva Canto2011-01-171-13/+10
| | | | (XFF header issue)
* Brute force debug for XFF issueDiva Canto2011-01-171-0/+7
|
* More debug messages to help track the XFF header problem.Diva Canto2011-01-171-0/+3
|
* Improved debug messages to track what is going on with the XFF headerDiva Canto2011-01-091-0/+2
|
* Plumb a code path for the entity transfer module to ask a destination sceneMelanie2010-12-091-0/+26
| | | | whether or not an agent is allowed there as a root agent.
* Added an exception handler on CreateObject handler, just in case there's an ↵Diva Canto2010-12-071-20/+31
| | | | exception being thrown that is silently being ignored by the http server. (Trying to catch Melanie's problem with attachments on TPs)
* Change the way attachments are persisted. Editing a worn attachment will nowMelanie2010-11-161-1/+6
| | | | | | | save properly, as will the results of a resizer script working. Attachment positions are no longer saved on each move, but instead are saved once on logout. Attachment script states are saved as part of the attachment now when detaching.
* Made the Gatekeeper proxy-able.Diva Canto2010-10-031-1/+21
|
* Make User Agent Service and Login Service separable.Diva Canto2010-09-041-18/+1
|
* Partial rewrite of client IP verification. Not completely finished yet, and ↵Diva Canto2010-08-191-0/+20
| | | | untested. Committing to move to my other computer.
* Removed opportunity for exception in BaseHttpServer. (mantis #4825)Diva Canto2010-06-301-0/+4
|
* Addresses mantis #4789. Not really a fix, because the event is harmless ↵Diva Canto2010-06-271-1/+7
| | | | anyway. Just shouldn't happen normally.
* Comment noisy "CONNECTION DEBUGGING" messages, because they push moreMelanie Thielker2010-05-271-7/+7
| | | | important stuff off screen too fast. Clean this time