Refactored a few for ResponseStream.cs

This commit is contained in:
sta
2015-05-30 18:16:32 +09:00
parent 66173be9cb
commit 854005660b
2 changed files with 37 additions and 46 deletions

View File

@@ -571,7 +571,7 @@ namespace WebSocketSharp.Net
var expect = Headers["Expect"];
if (expect != null && expect.Length > 0 && expect.ToLower () == "100-continue") {
var output = _context.Connection.GetResponseStream ();
output.WriteInternally (_100continue, 0, _100continue.Length);
output.InternalWrite (_100continue, 0, _100continue.Length);
}
}