We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45ab140 commit 6199353Copy full SHA for 6199353
QBox/Auth/DigestAuthClient.cs
@@ -27,7 +27,7 @@ public override void SetAuth(HttpWebRequest request, Stream body)
27
{
28
throw new Exception("stream can not seek");
29
}
30
- body.CopyTo(buffer);
+ StreamUtil.Copy(body, buffer);
31
body.Seek(0, SeekOrigin.Begin);
32
33
byte[] digest = hmac.ComputeHash(buffer.ToArray());
0 commit comments