aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/DataSnapshot
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/DataSnapshot/DataSnapshotManager.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
index 7472050..0f39273 100644
--- a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
+++ b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
@@ -402,7 +402,6 @@ namespace OpenSim.Region.DataSnapshot
402 string url = services[i].Trim(); 402 string url = services[i].Trim();
403 using (RestClient cli = new RestClient(url)) 403 using (RestClient cli = new RestClient(url))
404 { 404 {
405<<<<<<< HEAD
406 cli.AddQueryParameter("service", serviceName); 405 cli.AddQueryParameter("service", serviceName);
407 cli.AddQueryParameter("host", m_hostname); 406 cli.AddQueryParameter("host", m_hostname);
408 cli.AddQueryParameter("port", m_listener_port); 407 cli.AddQueryParameter("port", m_listener_port);
@@ -436,30 +435,7 @@ namespace OpenSim.Region.DataSnapshot
436 // string responseStr = Util.UTF8.GetString(response); 435 // string responseStr = Util.UTF8.GetString(response);
437 m_log.Info("[DATASNAPSHOT]: data service " + url + " notified. Secret: " + m_Secret); 436 m_log.Info("[DATASNAPSHOT]: data service " + url + " notified. Secret: " + m_Secret);
438 } 437 }
439=======
440 m_log.Warn("[DATASNAPSHOT]: Ignoring unknown exception " + e.ToString());
441 }
442
443 byte[] response = new byte[1024];
444 // int n = 0;
445 try
446 {
447 // n = reply.Read(response, 0, 1024);
448 reply.Read(response, 0, 1024);
449 }
450 catch (Exception e)
451 {
452 m_log.WarnFormat("[DATASNAPSHOT]: Unable to decode reply from data service. Ignoring. {0}", e.StackTrace);
453 }
454 // This is not quite working, so...
455 // string responseStr = Util.UTF8.GetString(response);
456 m_log.Info("[DATASNAPSHOT]: data service " + url + " notified. Secret: " + m_Secret);
457
458 if(reply != null)
459 reply.Close();
460>>>>>>> avn/ubitvar
461 } 438 }
462
463 } 439 }
464 #endregion 440 #endregion
465 441