send data as bin not string to http lower level

0.9.1.0-post-fixes
UbitUmarov 2018-07-14 14:39:29 +01:00
parent f9c9dc585c
commit 6f4052561e
1 changed files with 7 additions and 2 deletions

View File

@ -394,9 +394,14 @@ namespace OpenSim.Region.ClientStack.Linden
response["int_response_code"] = 200; response["int_response_code"] = 200;
response["content_type"] = "text/plain"; response["content_type"] = "text/plain";
response["str_response_string"] = m_webFetchHandler.FetchInventoryDescendentsRequest( // response["str_response_string"] = m_webFetchHandler.FetchInventoryDescendentsRequest(
requestinfo.request["body"].ToString(), String.Empty, String.Empty, null, null); // requestinfo.request["body"].ToString(), String.Empty, String.Empty, null, null);
response["bin_response_data"] = System.Text.Encoding.UTF8.GetBytes(
m_webFetchHandler.FetchInventoryDescendentsRequest(
requestinfo.request["body"].ToString(),
String.Empty, String.Empty, null, null)
);
lock (responses) lock (responses)
{ {
lock(dropedResponses) lock(dropedResponses)