Fix the synchronousrestformsrequester so it will successfully handle a response from a server which does not provide a valid content length header
parent
cecd660388
commit
cea856cfc2
|
@ -99,7 +99,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
{
|
{
|
||||||
using (WebResponse resp = request.GetResponse())
|
using (WebResponse resp = request.GetResponse())
|
||||||
{
|
{
|
||||||
if (resp.ContentLength > 0)
|
if (resp.ContentLength != 0)
|
||||||
{
|
{
|
||||||
Stream respStream = null;
|
Stream respStream = null;
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue