fix: client gets logged out when concierge's broker returns 500
response.0.6.3-post-fixes
parent
ce1e1854b1
commit
4cfa36ee8b
|
@ -412,11 +412,18 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge
|
|||
|
||||
private void UpdateBrokerDone(IAsyncResult result)
|
||||
{
|
||||
HttpWebRequest updatePost = result.AsyncState as HttpWebRequest;
|
||||
using (HttpWebResponse response = updatePost.EndGetResponse(result) as HttpWebResponse)
|
||||
try
|
||||
{
|
||||
response.Close();
|
||||
_log.DebugFormat("[Concierge] broker update: status {0}", response.StatusCode);
|
||||
HttpWebRequest updatePost = result.AsyncState as HttpWebRequest;
|
||||
using (HttpWebResponse response = updatePost.EndGetResponse(result) as HttpWebResponse)
|
||||
{
|
||||
response.Close();
|
||||
_log.DebugFormat("[Concierge] broker update: status {0}", response.StatusCode);
|
||||
}
|
||||
}
|
||||
catch (WebException we)
|
||||
{
|
||||
_log.ErrorFormat("[Concierge] broker update to {0} failed with status {1}", _brokerURI, we.Status);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue