Skip to content

Commit a46cc1d

Browse files
committed
Grab part of fix from upstream change: mono#9228 (case 1276200)
1 parent 285a344 commit a46cc1d

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)