aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor: Add an initializer to show what the default value would be.Melanie Thielker2015-11-011-1/+1
|
* Remove an unneeded code path, it could never be reached. Ubit caught itMelanie Thielker2015-11-011-12/+0
| | | | :)
* This is the replacement fix for large regions and string version.Melanie Thielker2015-11-011-0/+6
|
* Revert "fix transfer protocol version in string format. These are notMelanie Thielker2015-11-011-17/+5
| | | | | | fixes you are looking for..... (Jedi mind trick) This reverts commit 19e5667451dc763eb90a78533c4fe7f51c49f9a0.
* fix transfer protocol version in string format. Let that case have tests ↵UbitUmarov2015-10-311-5/+17
| | | | identical to new format (this still isnt for your babies keep them safe...)
* Introduce an EntityTransferContext carrying the version numbers to passMelanie Thielker2015-10-311-14/+17
| | | | | to all interested functions. Should fix the varregion conditional. Still a testing version, do NOT use in production!
* Put back the option of having asymmetrical protocol versions inMelanie Thielker2015-10-311-25/+18
| | | | transfers
* simplify new regions protocol version control. (May not work, and babies ↵UbitUmarov2015-10-311-27/+41
| | | | safety warnings still valid
* Testing stage of the new versioning system. Use at own risk. May notMelanie Thielker2015-10-311-9/+94
| | | | work. Will eat your babies. Yada. Yada.
* Let the initiator of a teleport or crossing know that we handle extraMelanie Thielker2015-10-201-0/+1
| | | | wearables
* More plumbing on agent statesMelanie Thielker2015-08-201-0/+6
|
* Partial plumbing for the agent stateful module features negotiationMelanie Thielker2015-08-201-1/+12
|
* Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)2014-11-251-1/+2
| | | | | | problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
* Close streams immediately when we finish using themOren Hurvitz2014-07-211-11/+43
|
* Added simulation version compatibility check so that agents coming from ↵Diva Canto2014-06-061-1/+5
| | | | 0.7.6 to a varregion running in 0.8 and above will be denied teleport, rather than be allowed and crash the viewer.
* 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.
* 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-241-2/+2
| | | | lookup rather than the region handle.
* Minor sanity check on simulation agent handler (content type)Diva Canto2012-03-131-7/+12
|
* 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-081-94/+170
|
* 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-081-112/+187
|
* 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
|
* Account for some component along the way lower-casing the HTTP header keys. ↵Diva Canto2011-01-171-13/+10
| | | | (XFF header issue)