aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorUbitUmarov2015-09-03 18:39:08 +0100
committerUbitUmarov2015-09-03 18:39:08 +0100
commitcdaed113872f0615a0d2864cc54064a4432054c6 (patch)
tree246e62dfeffac632cdcd9738a77faebd30b3bd6c /OpenSim/Framework/Communications
parentseems to compile ( tests comented out) (diff)
downloadopensim-SC_OLD-cdaed113872f0615a0d2864cc54064a4432054c6.zip
opensim-SC_OLD-cdaed113872f0615a0d2864cc54064a4432054c6.tar.gz
opensim-SC_OLD-cdaed113872f0615a0d2864cc54064a4432054c6.tar.bz2
opensim-SC_OLD-cdaed113872f0615a0d2864cc54064a4432054c6.tar.xz
at last we can login and see objects ( friends is dead and disable in
scenepresence)
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/RestClient.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs
index 7c89e6b..807222b 100644
--- a/OpenSim/Framework/Communications/RestClient.cs
+++ b/OpenSim/Framework/Communications/RestClient.cs
@@ -388,10 +388,6 @@ namespace OpenSim.Framework.Communications
388 m_log.Error(string.Format("[REST CLIENT] Error fetching resource from server: {0} ", _request.Address.ToString()), e); 388 m_log.Error(string.Format("[REST CLIENT] Error fetching resource from server: {0} ", _request.Address.ToString()), e);
389 } 389 }
390 } 390 }
391
392 if (_response != null)
393 _response.Close();
394
395 return null; 391 return null;
396 } 392 }
397 393
@@ -417,7 +413,7 @@ namespace OpenSim.Framework.Communications
417 _request = (HttpWebRequest) WebRequest.Create(buildUri()); 413 _request = (HttpWebRequest) WebRequest.Create(buildUri());
418 _request.KeepAlive = false; 414 _request.KeepAlive = false;
419 _request.ContentType = "application/xml"; 415 _request.ContentType = "application/xml";
420 _request.Timeout = 30000; 416 _request.Timeout = 90000;
421 _request.Method = RequestMethod; 417 _request.Method = RequestMethod;
422 _asyncException = null; 418 _asyncException = null;
423 _request.ContentLength = src.Length; 419 _request.ContentLength = src.Length;
@@ -476,8 +472,6 @@ namespace OpenSim.Framework.Communications
476 } 472 }
477 } 473 }
478 474
479 _response.Close();
480
481 if (_response != null) 475 if (_response != null)
482 _response.Close(); 476 _response.Close();
483 477