aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation (unfollow)
Commit message (Collapse)AuthorFilesLines
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-06-30Removing unused handling of incoming create object by userID and itemID only.Justin Clark-Casey (justincc)1-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.
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)2-3/+3
lookup rather than the region handle.
2012-03-13Minor sanity check on simulation agent handler (content type)Diva Canto1-7/+12
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie1-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.
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 fatpacksMelanie2-94/+171
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.Melanie2-131/+191
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-08Comment previous debugDiva Canto1-3/+3
2011-02-08XFF header again -- debug.Diva Canto1-0/+5
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-21remove some mono compiler warnings and unnecessary dictionary instantiationsJustin Clark-Casey (justincc)1-1/+1
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-07Added an exception handler on CreateObject handler, just in case there's an ↵Diva Canto1-20/+31
exception being thrown that is silently being ignored by the http server. (Trying to catch Melanie's problem with attachments on TPs)
2010-11-16Change the way attachments are persisted. Editing a worn attachment will nowMelanie1-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.
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.
2010-06-30Removed opportunity for exception in BaseHttpServer. (mantis #4825)Diva Canto1-0/+4
2010-06-27Addresses mantis #4789. Not really a fix, because the event is harmless ↵Diva Canto1-1/+7
anyway. Just shouldn't happen normally.