aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-22Amend to previous commit -- set the culture also on the receiving end.Diva Canto1-0/+2
2016-06-22Mantis #7802: added debug message to diagnose the problem.Diva Canto1-0/+2
2015-12-02fix typoUbitUmarov1-1/+1
2015-12-02createAgent needs to be syncUbitUmarov1-1/+4
2015-11-02Plumb the rest of the context stuff. Well, what I see so far anywayMelanie Thielker1-4/+14
2015-11-01More EntityTransferContext plumbingMelanie Thielker1-3/+5
2015-11-01More plumbing of the EntityTransferContext (not yet complete)Melanie Thielker1-3/+10
2015-11-01Minor: Add an initializer to show what the default value would be.Melanie Thielker1-1/+1
2015-11-01Remove an unneeded code path, it could never be reached. Ubit caught itMelanie Thielker1-12/+0
:)
2015-11-01This is the replacement fix for large regions and string version.Melanie Thielker1-0/+6
2015-11-01Revert "fix transfer protocol version in string format. These are notMelanie Thielker1-17/+5
fixes you are looking for..... (Jedi mind trick) This reverts commit 19e5667451dc763eb90a78533c4fe7f51c49f9a0.
2015-10-31fix transfer protocol version in string format. Let that case have tests ↵UbitUmarov1-5/+17
identical to new format (this still isnt for your babies keep them safe...)
2015-10-31Introduce an EntityTransferContext carrying the version numbers to passMelanie Thielker1-14/+17
to all interested functions. Should fix the varregion conditional. Still a testing version, do NOT use in production!
2015-10-31Put back the option of having asymmetrical protocol versions inMelanie Thielker1-25/+18
transfers
2015-10-31simplify new regions protocol version control. (May not work, and babies ↵UbitUmarov1-27/+41
safety warnings still valid
2015-10-31Testing stage of the new versioning system. Use at own risk. May notMelanie Thielker1-9/+94
work. Will eat your babies. Yada. Yada.
2015-10-20Let the initiator of a teleport or crossing know that we handle extraMelanie Thielker1-0/+1
wearables
2015-09-02seems to compile ( tests comented out)UbitUmarov1-23/+2
2015-08-26add more of the v03 checks and homeURL. Sending side only for nowUbitUmarov1-2/+14
2015-08-20More plumbing on agent statesMelanie Thielker1-0/+6
2015-08-20Partial plumbing for the agent stateful module features negotiationMelanie Thielker1-1/+12
2015-03-10Fix content type checking to confirm to newer core versionsMelanie Thielker1-1/+1
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)1-1/+2
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-09-24Fix a string formatMelanie Thielker1-1/+1
2014-09-24bad format.. again... :(UbitUmarov1-1/+1
2014-09-24 make CreateAgent sync for logins, async for other casesUbitUmarov1-13/+18
2014-09-24 coment out stack trace at newUserConnection, add log msh at createAgentUbitUmarov1-2/+3
2014-09-24TEST do createAgent sync, forcing grid services and other regions to waitUbitUmarov1-2/+7
for it to complet. This is not that good, but maybe needed
2014-07-21Close streams immediately when we finish using themOren Hurvitz1-11/+43
2014-06-06Added simulation version compatibility check so that agents coming from ↵Diva Canto1-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.
2014-05-19Tell QueryAccess explicitly whether the user is coming in via Teleport or ↵Oren Hurvitz1-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.
2014-05-04Please note: older simulators (0.7.6) still send the info about gzip in ↵Diva Canto1-2/+2
ContentType
2014-04-09In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz1-3/+20
referrer)
2014-04-07When sending QueryAccess to a region, also send the user's Home URIOren Hurvitz1-2/+6
2014-03-25Use the "X-Content-Encoding" header to indicate gzipped data, because old ↵Oren Hurvitz1-2/+2
OpenSims fail if they get an unknown "Content-Encoding"
2014-03-25Use the "Content-Encoding" header to indicate gzipped streamsOren Hurvitz1-11/+8
2013-07-14Change the auth token to be the user's sessionid.Diva Canto1-1/+4
2013-07-13Guard against unauthorized agent deletes.Diva Canto1-5/+11
2013-07-13Deleted GET agent all around. Not used.Diva Canto1-59/+2
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)1-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
2013-07-07Print out caller IP when unusual requests are received.Diva Canto1-1/+1
2013-06-22Change IsLocalRegion from using region handle to using regionID. This was ↵Diva Canto1-1/+0
affecting UpdateAgent and CloseAgent in cases where the foreign region is on the same coordinates as *some* local region.
2013-06-21Finally moved HG agent transfers to use agent fatpacks.Diva Canto1-26/+50
2013-05-16Where this is not already happening, trigger asychoronous calls to ↵Justin Clark-Casey (justincc)1-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.
2012-09-16Make agent creation at destination asynchronous. Failures here are prettyMelanie1-1/+9
much guaranteed to be fatal and the few times this would dosconnect an agent are more than made up for by the increased throughput of replying and closing the connection vs. keeping it open during the heavy work. Also causes better feedback to the viewer as the time is now split between Requesting Teleport and Connectiong to Destination.
2012-05-25In remote QueryAccess, also receive the actual status (true|false) instead ↵Justin Clark-Casey (justincc)1-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.
2012-05-24Make ISimulationScene.GetScene() used the more efficient region id for ↵Justin Clark-Casey (justincc)1-2/+2
lookup rather than the region handle.
2012-03-13Minor sanity check on simulation agent handler (content type)Diva Canto1-7/+12
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-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.
2011-11-19Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for ↵Justin Clark-Casey (justincc)1-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.