update xmlrpc.dll with a send variant using httpclint and used it

This commit is contained in:
UbitUmarov
2023-05-24 13:42:56 +01:00
parent 2bd08a19d5
commit 5e0c6446d8
10 changed files with 13 additions and 14 deletions

View File

@@ -94,7 +94,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
XmlRpcResponse response = null;
try
{
response = request.Send(info.ServerURI, 10000);
response = request.Send(info.ServerURI, WebUtil.SharedHttpClientWithRedir, 10000);
}
catch (Exception e)
{
@@ -230,7 +230,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
XmlRpcResponse response = null;
try
{
response = request.Send(gatekeeper.ServerURI, 10000);
response = request.Send(gatekeeper.ServerURI, WebUtil.SharedHttpClientWithRedir, 10000);
}
catch (Exception e)
{

View File

@@ -162,7 +162,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
XmlRpcResponse response = null;
try
{
response = request.Send(m_ServerURL, 10000);
response = request.Send(m_ServerURL, WebUtil.SharedHttpClientWithRedir, 10000);
}
catch (Exception e)
{
@@ -336,7 +336,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
XmlRpcResponse response = null;
try
{
response = request.Send(m_ServerURL, 6000);
response = request.Send(m_ServerURL, WebUtil.SharedHttpClientWithRedir, 6000);
}
catch
{
@@ -408,7 +408,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
XmlRpcResponse response = null;
try
{
response = request.Send(m_ServerURL, 10000);
response = request.Send(m_ServerURL, WebUtil.SharedHttpClientWithRedir, 10000);
}
catch
{
@@ -558,7 +558,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
XmlRpcResponse response = null;
try
{
response = request.Send(m_ServerURL, 10000);
response = request.Send(m_ServerURL, WebUtil.SharedHttpClientWithRedir, 10000);
}
catch (Exception e)
{

View File

@@ -61,7 +61,7 @@ namespace OpenSim.Services.Connectors.InstantMessage
try
{
XmlRpcResponse GridResp = GridReq.Send(url, 10000);
XmlRpcResponse GridResp = GridReq.Send(url, WebUtil.SharedHttpClientWithRedir, 10000);
Hashtable responseData = (Hashtable)GridResp.Value;

View File

@@ -92,7 +92,7 @@ namespace OpenSim.Services.Connectors
paramList.Add(hash);
XmlRpcRequest request = new XmlRpcRequest("land_data", paramList);
XmlRpcResponse response = request.Send(info.ServerURI, 10000);
XmlRpcResponse response = request.Send(info.ServerURI, WebUtil.SharedHttpClientWithRedir, 10000);
if (response.IsFault)
{
m_log.ErrorFormat("[LAND CONNECTOR]: remote call returned an error: {0}", response.FaultString);