diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Communications/RestClient.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs index 586400f..e556181 100644 --- a/OpenSim/Framework/Communications/RestClient.cs +++ b/OpenSim/Framework/Communications/RestClient.cs | |||
@@ -382,16 +382,16 @@ namespace OpenSim.Framework.Communications | |||
382 | if (auth != null) | 382 | if (auth != null) |
383 | auth.AddAuthorization(_request.Headers); | 383 | auth.AddAuthorization(_request.Headers); |
384 | 384 | ||
385 | m_log.InfoFormat("[REST]: Request Length {0}", _request.ContentLength); | 385 | // m_log.DebugFormat("[REST]: Request Length {0}", _request.ContentLength); |
386 | m_log.InfoFormat("[REST]: Sending Web Request {0}", buildUri()); | 386 | // m_log.DebugFormat("[REST]: Sending Web Request {0}", buildUri()); |
387 | src.Seek(0, SeekOrigin.Begin); | 387 | src.Seek(0, SeekOrigin.Begin); |
388 | m_log.Info("[REST]: Seek is ok"); | 388 | // m_log.Debug("[REST]: Seek is ok"); |
389 | Stream dst = _request.GetRequestStream(); | 389 | Stream dst = _request.GetRequestStream(); |
390 | m_log.Info("[REST]: GetRequestStream is ok"); | 390 | // m_log.Debug("[REST]: GetRequestStream is ok"); |
391 | 391 | ||
392 | byte[] buf = new byte[1024]; | 392 | byte[] buf = new byte[1024]; |
393 | int length = src.Read(buf, 0, 1024); | 393 | int length = src.Read(buf, 0, 1024); |
394 | m_log.Info("[REST]: First Read is ok"); | 394 | // m_log.Debug("[REST]: First Read is ok"); |
395 | while (length > 0) | 395 | while (length > 0) |
396 | { | 396 | { |
397 | dst.Write(buf, 0, length); | 397 | dst.Write(buf, 0, length); |