mirror of
https://github.com/opensim/opensim.git
synced 2026-07-29 20:55:41 +08:00
Fix the synchronousrestformsrequester so it will successfully handle a response from a server which does not provide a valid content length header
This commit is contained in:
@@ -99,7 +99,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
using (WebResponse resp = request.GetResponse())
|
||||
{
|
||||
if (resp.ContentLength > 0)
|
||||
if (resp.ContentLength != 0)
|
||||
{
|
||||
Stream respStream = null;
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user