fix WebSocket.cs
This commit is contained in:
parent
fb0485faec
commit
9029714f17
@ -2,7 +2,7 @@
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug_Ubuntu" ctype="Workspace" />
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="websocket-sharp/WebSocket.cs" ctype="Workbench">
|
||||
<Files>
|
||||
<File FileName="websocket-sharp/WebSocket.cs" Line="1" Column="20" />
|
||||
<File FileName="websocket-sharp/WebSocket.cs" Line="247" Column="31" />
|
||||
</Files>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
|
@ -325,21 +325,7 @@ namespace WebSocketSharp
|
||||
"Origin: " + origin + "\r\n" +
|
||||
"\r\n";
|
||||
}
|
||||
/*
|
||||
private byte[] createExpectedRes(uint key1, uint key2, byte[] key3)
|
||||
{
|
||||
byte[] key1Bytes = BitConverter.GetBytes(key1);
|
||||
byte[] key2Bytes = BitConverter.GetBytes(key2);
|
||||
|
||||
Array.Reverse(key1Bytes);
|
||||
Array.Reverse(key2Bytes);
|
||||
|
||||
byte[] concatKeys = key1Bytes.Concat(key2Bytes).Concat(key3).ToArray();
|
||||
|
||||
MD5 md5 = MD5.Create();
|
||||
return md5.ComputeHash(concatKeys);
|
||||
}
|
||||
*/
|
||||
private void message()
|
||||
{
|
||||
#if DEBUG
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user