mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Merge branch 'master' into httptests
This commit is contained in:
@@ -1125,6 +1125,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||
return null;
|
||||
|
||||
doc = new XmlDocument();
|
||||
doc.XmlResolver = null;
|
||||
|
||||
// Let's serialize all calls to Vivox. Most of these are driven by
|
||||
// the clients (CAPs), when the user arrives at the region. We don't
|
||||
@@ -1146,7 +1147,11 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||
using (HttpWebResponse rsp = (HttpWebResponse)req.GetResponse())
|
||||
using (Stream s = rsp.GetResponseStream())
|
||||
using (XmlTextReader rdr = new XmlTextReader(s))
|
||||
doc.Load(rdr);
|
||||
{
|
||||
rdr.DtdProcessing = DtdProcessing.Prohibit;
|
||||
rdr.XmlResolver = null;
|
||||
doc.Load(rdr);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user