Skip to content

Commit 4c55376

Browse files
authored
Merge pull request #1337 from Unity-Technologies/unity-master-fix-1276200
Grab part of fix from upstream change: https://github.com/mono/mono/p…
2 parents 285a344 + a46cc1d commit 4c55376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcs/class/System/System.Net/WebResponseStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ bool GetResponse (BufferOffsetSize buffer, ref int pos, ref ReadState state)
653653
else
654654
StatusDescription = string.Empty;
655655

656-
if (pos >= buffer.Size)
656+
if (pos >= buffer.Offset)
657657
return true;
658658
}
659659

0 commit comments

Comments
 (0)