mirror of
https://github.com/opensim/opensim.git
synced 2026-06-26 08:35:39 +08:00
replace a couple of xmlrpc invocations with invoke() instead of send()
this is in order to force an exception on an error - send() does not do this and people end up simply ignoring the error codes...
This commit is contained in:
@@ -113,8 +113,9 @@ namespace OpenSim.Grid.MessagingServer.Modules
|
||||
// Send Request
|
||||
try
|
||||
{
|
||||
XmlRpcRequest UserReq = new XmlRpcRequest("register_messageserver", SendParams);
|
||||
XmlRpcResponse UserResp = UserReq.Send(srv, 16000);
|
||||
XmlRpcRequest UserReq = new XmlRpcRequest("register_messageserver", SendParams);
|
||||
XmlRpcResponse UserResp = (XmlRpcResponse)UserReq.Invoke(srv);
|
||||
//XmlRpcResponse UserResp = UserReq.Send(srv, 16000);
|
||||
|
||||
// Process Response
|
||||
Hashtable GridRespData = (Hashtable)UserResp.Value;
|
||||
|
||||
Reference in New Issue
Block a user