MantisBT - opensim
View Issue Details
0005768opensim[REGION] Scripting Enginepublic2011-11-01 03:042012-02-25 22:15
Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
0005768: http-in request failed, possible graceful solution.
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.[2] 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.
No tags attached.
Issue History
2011-11-01 03:04SignpostMarvNew Issue
2011-11-01 03:04SignpostMarvGit Revision => 9d214d4903755e0c681c4458166b44c78b1ca677
2011-11-01 03:04SignpostMarvRun Mode => Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
2011-11-01 03:04SignpostMarvPhysics Engine => BasicPhysics
2011-11-01 03:04SignpostMarvEnvironment => Unknown
2011-11-01 03:04SignpostMarvMono Version => None
2011-11-01 05:19SignpostMarvNote Added: 0020283
2012-02-25 22:14ssm2017Note Added: 0020987
2012-02-25 22:14ssm2017Statusnew => confirmed

2011-11-01 05:19   
Tested in Second Life earlier, turns out LL do 404 Not Found on released urls: [^]
2012-02-25 22:14   
system :
Mono JIT compiler version 2.6.7 (Debian 2.6.7-5ubuntu3)
Ubuntu 11.04 kernel 2.6.38-13-generic

opensim :
commit 01f454242d20dd513e82eae1eb79db7842e597ea
Date: Sat Feb 25 16:39:14 2012 +0100