aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-10Fix content type checking to confirm to newer core versionsMelanie Thielker1-1/+1
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
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.
2011-11-19Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)1-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
2011-05-11This makes compression of fatpacks actually work. Previously they always ↵Diva Canto1-3/+2
failed. See comment in WebUtil.
2011-05-11Revert "Functional improvement: close the stream. Non-functional: add debug ↵Diva Canto1-19/+2
messages to find out why updates are getting an error. WARNING: MASSIVE CONSOLE SPAM ON TPs." This reverts commit 5548f837501184d68c352097ad1a1de566e18ca0.
2011-05-11One more debug message. Don't use this unless your name is nebadon.Diva Canto1-0/+3
2011-05-11Functional improvement: close the stream. Non-functional: add debug messages ↵Diva Canto1-2/+19
to find out why updates are getting an error. WARNING: MASSIVE CONSOLE SPAM ON TPs.
2011-05-08Also compress the actual fatpacksMelanie1-94/+170
2011-05-08Also compress the actual fatpacksMelanie1-94/+170
2011-05-08Remove a spammy debug I left in. Disable TP cancel button at the pointMelanie1-1/+0
of no return.
2011-05-08Remove a spammy debug I left in. Disable TP cancel button at the pointMelanie1-1/+0
of no return.
2011-05-08Enable compressed (gzip) fatpack transfers.Melanie1-112/+187
2011-05-08Enable compressed (gzip) fatpack transfers.Melanie1-112/+187
2011-04-28Fatpack message on agent transfers: 1 message only (UpdateAgent) containing ↵Diva Canto1-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.
2011-02-16Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie1-2/+9
2011-02-16Change the QUERYACCESS method to eliminate spurious access denied messagesMelanie1-2/+9
2011-02-08Comment previous debugDiva Canto1-3/+3
2011-02-08XFF header again -- debug.Diva Canto1-0/+5
2011-02-07Fix merge issuesMelanie1-3/+0
2011-02-05Fix a typo in the QUERYACCESS method nameMelanie1-1/+1
2011-01-28Fix up QueryAccess to also check parcelsMelanie1-1/+8
2011-01-28Fix up QueryAccess to also check parcelsMelanie1-1/+8
2011-01-27Make bans work for teleport. Now teleport will complete block if the userMelanie1-1/+1
is not allowed on the estate. If the user is allowed on no parcel, the teleport will also be blocked. If the user is allowed on a parcel, but not the desired one, the user will be shifted to the closest allowed location.
2011-01-17Account for some component along the way lower-casing the HTTP header keys. ↵Diva Canto1-13/+10
(XFF header issue)
2011-01-17Brute force debug for XFF issueDiva Canto1-0/+7
2011-01-17More debug messages to help track the XFF header problem.Diva Canto1-0/+3
2011-01-09Improved debug messages to track what is going on with the XFF headerDiva Canto1-0/+2
2010-12-09Plumb a code path for the entity transfer module to ask a destination sceneMelanie1-0/+26
whether or not an agent is allowed there as a root agent.
2010-12-09Plumb a code path for the entity transfer module to ask a destination sceneMelanie1-0/+26
whether or not an agent is allowed there as a root agent.
2010-10-03Made the Gatekeeper proxy-able.Diva Canto1-1/+21
2010-09-04Make User Agent Service and Login Service separable.Diva Canto1-18/+1
2010-08-19Partial rewrite of client IP verification. Not completely finished yet, and ↵Diva Canto1-0/+20
untested. Committing to move to my other computer.