mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
remove excess garbage
This commit is contained in:
@@ -29,7 +29,9 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Concurrent;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using log4net;
|
||||
using Nini.Config;
|
||||
@@ -58,7 +60,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
{
|
||||
public PollServiceInventoryEventArgs thepoll;
|
||||
public UUID reqID;
|
||||
public Hashtable request;
|
||||
public OSHttpRequest request;
|
||||
}
|
||||
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
@@ -333,11 +335,14 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
response["int_response_code"] = 200;
|
||||
response["content_type"] = "text/plain";
|
||||
|
||||
response["bin_response_data"] = System.Text.Encoding.UTF8.GetBytes(
|
||||
response["bin_response_data"] = Encoding.UTF8.GetBytes(
|
||||
m_webFetchHandler.FetchInventoryDescendentsRequest(
|
||||
requestinfo.request["body"].ToString(),
|
||||
requestinfo.request.InputStream,
|
||||
String.Empty, String.Empty, null, null)
|
||||
);
|
||||
|
||||
requestinfo.request.InputStream.Dispose();
|
||||
|
||||
lock (responses)
|
||||
{
|
||||
lock(dropedResponses)
|
||||
@@ -345,7 +350,6 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
if(dropedResponses.Contains(requestID))
|
||||
{
|
||||
dropedResponses.Remove(requestID);
|
||||
requestinfo.request.Clear();
|
||||
WebFetchInvDescModule.ProcessedRequestsCount++;
|
||||
return;
|
||||
}
|
||||
@@ -355,7 +359,6 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
m_log.WarnFormat("[FETCH INVENTORY DESCENDENTS2 MODULE]: Caught in the act of loosing responses! Please report this on mantis #7054");
|
||||
responses[requestID] = response;
|
||||
}
|
||||
requestinfo.request.Clear();
|
||||
WebFetchInvDescModule.ProcessedRequestsCount++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user