diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs index 77aad6b..92c9463 100644 --- a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs | |||
@@ -191,7 +191,8 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST | |||
191 | os.Close(); | 191 | os.Close(); |
192 | //m_log.InfoFormat("[REST COMMS]: Posted ChildAgentUpdate request to remote sim {0}", uri); | 192 | //m_log.InfoFormat("[REST COMMS]: Posted ChildAgentUpdate request to remote sim {0}", uri); |
193 | } | 193 | } |
194 | catch (WebException ex) | 194 | //catch (WebException ex) |
195 | catch | ||
195 | { | 196 | { |
196 | //m_log.InfoFormat("[REST COMMS]: Bad send on ChildAgentUpdate {0}", ex.Message); | 197 | //m_log.InfoFormat("[REST COMMS]: Bad send on ChildAgentUpdate {0}", ex.Message); |
197 | 198 | ||
@@ -200,7 +201,7 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST | |||
200 | 201 | ||
201 | // Let's wait for the response | 202 | // Let's wait for the response |
202 | //m_log.Info("[REST COMMS]: Waiting for a reply after ChildAgentUpdate"); | 203 | //m_log.Info("[REST COMMS]: Waiting for a reply after ChildAgentUpdate"); |
203 | string reply = null; | 204 | |
204 | try | 205 | try |
205 | { | 206 | { |
206 | WebResponse webResponse = ChildUpdateRequest.GetResponse(); | 207 | WebResponse webResponse = ChildUpdateRequest.GetResponse(); |
@@ -210,7 +211,8 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST | |||
210 | } | 211 | } |
211 | 212 | ||
212 | StreamReader sr = new StreamReader(webResponse.GetResponseStream()); | 213 | StreamReader sr = new StreamReader(webResponse.GetResponseStream()); |
213 | reply = sr.ReadToEnd().Trim(); | 214 | //reply = sr.ReadToEnd().Trim(); |
215 | sr.ReadToEnd().Trim(); | ||
214 | sr.Close(); | 216 | sr.Close(); |
215 | //m_log.InfoFormat("[REST COMMS]: ChilAgentUpdate reply was {0} ", reply); | 217 | //m_log.InfoFormat("[REST COMMS]: ChilAgentUpdate reply was {0} ", reply); |
216 | 218 | ||