MantisBT - opensim
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005768||opensim||[REGION] Scripting Engine||public||2011-11-01 03:04||2012-02-25 22:15|
|Target Version||Fixed in Version|
|Git Revision or version number||9d214d4903755e0c681c4458166b44c78b1ca677|
|Run Mode||Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)|
|Summary||0005768: http-in request failed, possible graceful solution.|
|Description||When one makes a request to an http-in url that either does not exist, or presumably has been released, the console spits out two messages:|
1) a "yellow" message indicating that "the given key was not present in the dictionary"
then about 30 seconds later
2) "Exception in poll service thread: System.NullReferenceException" etc.
Additionally, if loading such urls in a web browser, it seems they either timeout or just try to connect indefinitely.
What I'm thinking should happen is that if "the given key was not present in the dictionary", that opensim should immediately respond with a "410 Gone" error: "Indicates that the resource requested is no longer available and will not be available again. This should be used when a resource has been intentionally removed and the resource should be purged. Upon receiving a 410 status code, the client should not request the resource again in the future. Clients such as search engines should remove the resource from their indices. Most use cases do not require clients and search engines to purge the resource, and a "404 Not Found" may be used instead."
While in the case of a randomly generated url this would be inappropriate, in practice it is more likely that an url has been requested by an LSL script then later released- semantically speaking, this sounds like a 410 error, since the use of the UUID format makes it statistically improbable that the same url will ever be used by the same script ever again.
|Steps To Reproduce|
|Tags||No tags attached.|
|2011-11-01 03:04||SignpostMarv||New Issue|
|2011-11-01 03:04||SignpostMarv||Git Revision||=> 9d214d4903755e0c681c4458166b44c78b1ca677|
|2011-11-01 03:04||SignpostMarv||Run Mode||=> Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)|
|2011-11-01 03:04||SignpostMarv||Physics Engine||=> BasicPhysics|
|2011-11-01 03:04||SignpostMarv||Environment||=> Unknown|
|2011-11-01 03:04||SignpostMarv||Mono Version||=> None|
|2011-11-01 05:19||SignpostMarv||Note Added: 0020283|
|2012-02-25 22:14||ssm2017||Note Added: 0020987|
|2012-02-25 22:14||ssm2017||Status||new => confirmed|