Stop spamming Nebadon's console when assets aren't found in the asset server.

bulletsim
Diva Canto 2011-05-14 12:56:50 -07:00
parent 59d8588ae1
commit a3aa839d75
1 changed files with 4 additions and 1 deletions

View File

@ -979,8 +979,11 @@ namespace OpenSim.Framework
try
{
using (WebResponse resp = request.GetResponse())
using (HttpWebResponse resp = (HttpWebResponse)request.GetResponse())
{
if (resp.StatusCode == HttpStatusCode.NotFound)
return deserial;
if (resp.ContentLength != 0)
{
Stream respStream = resp.GetResponseStream();