diff --git a/Example/bin/Debug/example.exe b/Example/bin/Debug/example.exe index 0a4857e7..8fb6d6c2 100755 Binary files a/Example/bin/Debug/example.exe and b/Example/bin/Debug/example.exe differ diff --git a/Example/bin/Debug/example.exe.mdb b/Example/bin/Debug/example.exe.mdb index 6d4135d4..47fc71e7 100644 Binary files a/Example/bin/Debug/example.exe.mdb and b/Example/bin/Debug/example.exe.mdb differ diff --git a/Example/bin/Debug/websocket-sharp.dll b/Example/bin/Debug/websocket-sharp.dll index 76fbec1b..aa088f6a 100755 Binary files a/Example/bin/Debug/websocket-sharp.dll and b/Example/bin/Debug/websocket-sharp.dll differ diff --git a/Example/bin/Debug/websocket-sharp.dll.mdb b/Example/bin/Debug/websocket-sharp.dll.mdb index 148adbe7..382294a6 100644 Binary files a/Example/bin/Debug/websocket-sharp.dll.mdb and b/Example/bin/Debug/websocket-sharp.dll.mdb differ diff --git a/Example/bin/Debug_Ubuntu/example.exe b/Example/bin/Debug_Ubuntu/example.exe index 31f12d76..5b0c302f 100755 Binary files a/Example/bin/Debug_Ubuntu/example.exe and b/Example/bin/Debug_Ubuntu/example.exe differ diff --git a/Example/bin/Debug_Ubuntu/example.exe.mdb b/Example/bin/Debug_Ubuntu/example.exe.mdb index fa49b141..5369681c 100644 Binary files a/Example/bin/Debug_Ubuntu/example.exe.mdb and b/Example/bin/Debug_Ubuntu/example.exe.mdb differ diff --git a/Example/bin/Debug_Ubuntu/websocket-sharp.dll b/Example/bin/Debug_Ubuntu/websocket-sharp.dll index 313e4ff2..8b2b1859 100755 Binary files a/Example/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb b/Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb index 8a6bef35..c1a8f453 100644 Binary files a/Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb and b/Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb differ diff --git a/Example/bin/Release/example.exe b/Example/bin/Release/example.exe index ed53d590..2e8cdc53 100755 Binary files a/Example/bin/Release/example.exe and b/Example/bin/Release/example.exe differ diff --git a/Example/bin/Release/websocket-sharp.dll b/Example/bin/Release/websocket-sharp.dll index 7f34c1d4..5efc34d6 100755 Binary files a/Example/bin/Release/websocket-sharp.dll and b/Example/bin/Release/websocket-sharp.dll differ diff --git a/Example/bin/Release_Ubuntu/example.exe b/Example/bin/Release_Ubuntu/example.exe index 5f613f18..a39b2dc1 100755 Binary files a/Example/bin/Release_Ubuntu/example.exe and b/Example/bin/Release_Ubuntu/example.exe differ diff --git a/Example/bin/Release_Ubuntu/websocket-sharp.dll b/Example/bin/Release_Ubuntu/websocket-sharp.dll index 8bca3b44..ae4c86d9 100755 Binary files a/Example/bin/Release_Ubuntu/websocket-sharp.dll and b/Example/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/Example1/bin/Debug/example1.exe b/Example1/bin/Debug/example1.exe index a95841e5..6b4df619 100755 Binary files a/Example1/bin/Debug/example1.exe and b/Example1/bin/Debug/example1.exe differ diff --git a/Example1/bin/Debug/example1.exe.mdb b/Example1/bin/Debug/example1.exe.mdb index 8243dde3..3a70c9c6 100644 Binary files a/Example1/bin/Debug/example1.exe.mdb and b/Example1/bin/Debug/example1.exe.mdb differ diff --git a/Example1/bin/Debug/websocket-sharp.dll b/Example1/bin/Debug/websocket-sharp.dll index 76fbec1b..aa088f6a 100755 Binary files a/Example1/bin/Debug/websocket-sharp.dll and b/Example1/bin/Debug/websocket-sharp.dll differ diff --git a/Example1/bin/Debug/websocket-sharp.dll.mdb b/Example1/bin/Debug/websocket-sharp.dll.mdb index 148adbe7..382294a6 100644 Binary files a/Example1/bin/Debug/websocket-sharp.dll.mdb and b/Example1/bin/Debug/websocket-sharp.dll.mdb differ diff --git a/Example1/bin/Debug_Ubuntu/example1.exe b/Example1/bin/Debug_Ubuntu/example1.exe index 1760ba13..97732488 100755 Binary files a/Example1/bin/Debug_Ubuntu/example1.exe and b/Example1/bin/Debug_Ubuntu/example1.exe differ diff --git a/Example1/bin/Debug_Ubuntu/example1.exe.mdb b/Example1/bin/Debug_Ubuntu/example1.exe.mdb index 7b0a2ec1..b0e47f8f 100644 Binary files a/Example1/bin/Debug_Ubuntu/example1.exe.mdb and b/Example1/bin/Debug_Ubuntu/example1.exe.mdb differ diff --git a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll index 313e4ff2..8b2b1859 100755 Binary files a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb index 8a6bef35..c1a8f453 100644 Binary files a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb and b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb differ diff --git a/Example1/bin/Release/example1.exe b/Example1/bin/Release/example1.exe index 0db38d88..f22e68a5 100755 Binary files a/Example1/bin/Release/example1.exe and b/Example1/bin/Release/example1.exe differ diff --git a/Example1/bin/Release/websocket-sharp.dll b/Example1/bin/Release/websocket-sharp.dll index 7f34c1d4..5efc34d6 100755 Binary files a/Example1/bin/Release/websocket-sharp.dll and b/Example1/bin/Release/websocket-sharp.dll differ diff --git a/Example1/bin/Release_Ubuntu/example1.exe b/Example1/bin/Release_Ubuntu/example1.exe index daaa6f52..adf7993c 100755 Binary files a/Example1/bin/Release_Ubuntu/example1.exe and b/Example1/bin/Release_Ubuntu/example1.exe differ diff --git a/Example1/bin/Release_Ubuntu/websocket-sharp.dll b/Example1/bin/Release_Ubuntu/websocket-sharp.dll index 8bca3b44..ae4c86d9 100755 Binary files a/Example1/bin/Release_Ubuntu/websocket-sharp.dll and b/Example1/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/Example2/bin/Debug/example2.exe b/Example2/bin/Debug/example2.exe index b89e835e..8a19249f 100755 Binary files a/Example2/bin/Debug/example2.exe and b/Example2/bin/Debug/example2.exe differ diff --git a/Example2/bin/Debug/example2.exe.mdb b/Example2/bin/Debug/example2.exe.mdb index cfa0bc8b..0db29c9f 100644 Binary files a/Example2/bin/Debug/example2.exe.mdb and b/Example2/bin/Debug/example2.exe.mdb differ diff --git a/Example2/bin/Debug/websocket-sharp.dll b/Example2/bin/Debug/websocket-sharp.dll index 76fbec1b..aa088f6a 100755 Binary files a/Example2/bin/Debug/websocket-sharp.dll and b/Example2/bin/Debug/websocket-sharp.dll differ diff --git a/Example2/bin/Debug/websocket-sharp.dll.mdb b/Example2/bin/Debug/websocket-sharp.dll.mdb index 148adbe7..382294a6 100644 Binary files a/Example2/bin/Debug/websocket-sharp.dll.mdb and b/Example2/bin/Debug/websocket-sharp.dll.mdb differ diff --git a/Example2/bin/Debug_Ubuntu/example2.exe b/Example2/bin/Debug_Ubuntu/example2.exe index cae434b2..55ca72f3 100755 Binary files a/Example2/bin/Debug_Ubuntu/example2.exe and b/Example2/bin/Debug_Ubuntu/example2.exe differ diff --git a/Example2/bin/Debug_Ubuntu/example2.exe.mdb b/Example2/bin/Debug_Ubuntu/example2.exe.mdb index 994e58ae..6e1614c5 100644 Binary files a/Example2/bin/Debug_Ubuntu/example2.exe.mdb and b/Example2/bin/Debug_Ubuntu/example2.exe.mdb differ diff --git a/Example2/bin/Debug_Ubuntu/websocket-sharp.dll b/Example2/bin/Debug_Ubuntu/websocket-sharp.dll index 313e4ff2..8b2b1859 100755 Binary files a/Example2/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example2/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/Example2/bin/Debug_Ubuntu/websocket-sharp.dll.mdb b/Example2/bin/Debug_Ubuntu/websocket-sharp.dll.mdb index 8a6bef35..c1a8f453 100644 Binary files a/Example2/bin/Debug_Ubuntu/websocket-sharp.dll.mdb and b/Example2/bin/Debug_Ubuntu/websocket-sharp.dll.mdb differ diff --git a/Example2/bin/Release/example2.exe b/Example2/bin/Release/example2.exe index 36393725..bd9d9b45 100755 Binary files a/Example2/bin/Release/example2.exe and b/Example2/bin/Release/example2.exe differ diff --git a/Example2/bin/Release/websocket-sharp.dll b/Example2/bin/Release/websocket-sharp.dll index 7f34c1d4..5efc34d6 100755 Binary files a/Example2/bin/Release/websocket-sharp.dll and b/Example2/bin/Release/websocket-sharp.dll differ diff --git a/Example2/bin/Release_Ubuntu/example2.exe b/Example2/bin/Release_Ubuntu/example2.exe index 4db66af8..f434b21e 100755 Binary files a/Example2/bin/Release_Ubuntu/example2.exe and b/Example2/bin/Release_Ubuntu/example2.exe differ diff --git a/Example2/bin/Release_Ubuntu/websocket-sharp.dll b/Example2/bin/Release_Ubuntu/websocket-sharp.dll index 8bca3b44..ae4c86d9 100755 Binary files a/Example2/bin/Release_Ubuntu/websocket-sharp.dll and b/Example2/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/Example3/bin/Debug/Example3.exe b/Example3/bin/Debug/Example3.exe index 4456ec67..ae865965 100755 Binary files a/Example3/bin/Debug/Example3.exe and b/Example3/bin/Debug/Example3.exe differ diff --git a/Example3/bin/Debug/Example3.exe.mdb b/Example3/bin/Debug/Example3.exe.mdb index 40461197..7a4e6260 100644 Binary files a/Example3/bin/Debug/Example3.exe.mdb and b/Example3/bin/Debug/Example3.exe.mdb differ diff --git a/Example3/bin/Debug/websocket-sharp.dll b/Example3/bin/Debug/websocket-sharp.dll index 76fbec1b..aa088f6a 100755 Binary files a/Example3/bin/Debug/websocket-sharp.dll and b/Example3/bin/Debug/websocket-sharp.dll differ diff --git a/Example3/bin/Debug/websocket-sharp.dll.mdb b/Example3/bin/Debug/websocket-sharp.dll.mdb index 148adbe7..382294a6 100644 Binary files a/Example3/bin/Debug/websocket-sharp.dll.mdb and b/Example3/bin/Debug/websocket-sharp.dll.mdb differ diff --git a/Example3/bin/Debug_Ubuntu/Example3.exe b/Example3/bin/Debug_Ubuntu/Example3.exe index a5082516..9a8c47df 100755 Binary files a/Example3/bin/Debug_Ubuntu/Example3.exe and b/Example3/bin/Debug_Ubuntu/Example3.exe differ diff --git a/Example3/bin/Debug_Ubuntu/Example3.exe.mdb b/Example3/bin/Debug_Ubuntu/Example3.exe.mdb index ceaf3b4a..31161f86 100644 Binary files a/Example3/bin/Debug_Ubuntu/Example3.exe.mdb and b/Example3/bin/Debug_Ubuntu/Example3.exe.mdb differ diff --git a/Example3/bin/Debug_Ubuntu/websocket-sharp.dll b/Example3/bin/Debug_Ubuntu/websocket-sharp.dll index 313e4ff2..8b2b1859 100755 Binary files a/Example3/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example3/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/Example3/bin/Debug_Ubuntu/websocket-sharp.dll.mdb b/Example3/bin/Debug_Ubuntu/websocket-sharp.dll.mdb index 8a6bef35..c1a8f453 100644 Binary files a/Example3/bin/Debug_Ubuntu/websocket-sharp.dll.mdb and b/Example3/bin/Debug_Ubuntu/websocket-sharp.dll.mdb differ diff --git a/Example3/bin/Release/Example3.exe b/Example3/bin/Release/Example3.exe index fc4aa886..b8d1c9d8 100755 Binary files a/Example3/bin/Release/Example3.exe and b/Example3/bin/Release/Example3.exe differ diff --git a/Example3/bin/Release/websocket-sharp.dll b/Example3/bin/Release/websocket-sharp.dll index 7f34c1d4..5efc34d6 100755 Binary files a/Example3/bin/Release/websocket-sharp.dll and b/Example3/bin/Release/websocket-sharp.dll differ diff --git a/Example3/bin/Release_Ubuntu/Example3.exe b/Example3/bin/Release_Ubuntu/Example3.exe index 9ba18f18..09a5a1eb 100755 Binary files a/Example3/bin/Release_Ubuntu/Example3.exe and b/Example3/bin/Release_Ubuntu/Example3.exe differ diff --git a/Example3/bin/Release_Ubuntu/websocket-sharp.dll b/Example3/bin/Release_Ubuntu/websocket-sharp.dll index 8bca3b44..ae4c86d9 100755 Binary files a/Example3/bin/Release_Ubuntu/websocket-sharp.dll and b/Example3/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/websocket-sharp.userprefs b/websocket-sharp.userprefs index 4f01e372..9b182064 100644 --- a/websocket-sharp.userprefs +++ b/websocket-sharp.userprefs @@ -1,5 +1,5 @@  - + diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 9f260085..1b0ec145 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -236,27 +236,34 @@ namespace WebSocketSharp return false; } - public static byte[] ReadBytes(this TStream stream, ulong length, int bufferLength) - where TStream : System.IO.Stream + public static byte[] ReadBytes(this Stream stream, int length) { - ulong count = length / (ulong)bufferLength; - int remainder = (int)(length % (ulong)bufferLength); + var buffer = new byte[length]; + stream.Read(buffer, 0, length); + return buffer; + } - List readData = new List(); - byte[] buffer1 = new byte[bufferLength]; - int readLen = 0; + public static byte[] ReadBytes(this Stream stream, long length, int bufferLength) + { + var count = length / bufferLength; + var rem = length % bufferLength; + var readData = new List(); + var readLen = 0; + var buffer = new byte[bufferLength]; count.Times(() => { - readLen = stream.Read(buffer1, 0, bufferLength); - if (readLen > 0) readData.AddRange(buffer1.SubArray(0, readLen)); + readLen = stream.Read(buffer, 0, bufferLength); + if (readLen > 0) + readData.AddRange(buffer.SubArray(0, readLen)); }); - if (remainder > 0) + if (rem > 0) { - byte[] buffer2 = new byte[remainder]; - readLen = stream.Read(buffer2, 0, remainder); - if (readLen > 0) readData.AddRange(buffer2.SubArray(0, readLen)); + buffer = new byte[rem]; + readLen = stream.Read(buffer, 0, (int)rem); + if (readLen > 0) + readData.AddRange(buffer.SubArray(0, readLen)); } return readData.ToArray(); @@ -284,6 +291,11 @@ namespace WebSocketSharp ((ulong)n).Times(act); } + public static void Times(this long n, Action act) + { + ((ulong)n).Times(act); + } + public static void Times(this ulong n, Action act) { for (ulong i = 0; i < n; i++) @@ -300,6 +312,11 @@ namespace WebSocketSharp ((ulong)n).Times(act); } + public static void Times(this long n, Action act) + { + ((ulong)n).Times(act); + } + public static void Times(this ulong n, Action act) { for (ulong i = 0; i < n; i++) diff --git a/websocket-sharp/Frame/WsFrame.cs b/websocket-sharp/Frame/WsFrame.cs index f9756b97..96826736 100644 --- a/websocket-sharp/Frame/WsFrame.cs +++ b/websocket-sharp/Frame/WsFrame.cs @@ -290,7 +290,7 @@ namespace WebSocketSharp.Frame } else { - buffer3 = stream.ReadBytes(buffer3Len, _readBufferLen); + buffer3 = stream.ReadBytes((long)buffer3Len, _readBufferLen); if ((ulong)buffer3.LongLength < buffer3Len) { diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 559dc82a..840f75d8 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -52,8 +52,9 @@ namespace WebSocketSharp { #region Private Const Fields - private const string _guid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; - private const string _version = "13"; + private const int _fragmentLen = 1016; // Max value is int.MaxValue - 14. + private const string _guid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; + private const string _version = "13"; #endregion @@ -68,7 +69,6 @@ namespace WebSocketSharp private string _extensions; private Object _forClose; private Object _forSend; - private int _fragmentLen; private bool _isClient; private bool _isSecure; private string _protocol; @@ -90,7 +90,6 @@ namespace WebSocketSharp _extensions = String.Empty; _forClose = new Object(); _forSend = new Object(); - _fragmentLen = 1024; // Max value is int.MaxValue - 14. _protocol = String.Empty; _readyState = WsState.CONNECTING; _receivedPong = new AutoResetEvent(false); @@ -793,7 +792,7 @@ namespace WebSocketSharp if (_readyState == WsState.CONNECTING || _readyState == WsState.CLOSED) { - var msg = "Connection isn't established or connection was closed."; + var msg = "Connection isn't established or has been closed."; error(msg); return false; } @@ -826,22 +825,21 @@ namespace WebSocketSharp } } - private void send(Opcode opcode, PayloadData data) + private void send(Opcode opcode, byte[] data) { - using (MemoryStream ms = new MemoryStream(data.ToBytes())) + using (MemoryStream ms = new MemoryStream(data)) { send(opcode, ms); } } - private void send(Opcode opcode, TStream stream) - where TStream : Stream + private void send(Opcode opcode, Stream stream) { - lock(_forSend) + lock (_forSend) { if (_readyState != WsState.OPEN) { - var msg = "Connection isn't established or connection was closed."; + var msg = "Connection isn't established or has been closed."; error(msg); return; } @@ -849,78 +847,46 @@ namespace WebSocketSharp var length = stream.Length; if (length <= _fragmentLen) { - var buffer = new byte[length]; - stream.Read(buffer, 0, (int)length); - var frame = createFrame(Fin.FINAL, opcode, new PayloadData(buffer)); - send(frame); - } - else - { - sendFragmented(opcode, stream); + var buffer = stream.ReadBytes((int)length); + send(Fin.FINAL, opcode, buffer); + return; } + + sendFragmented(opcode, stream); } } - private ulong sendFragmented(Opcode opcode, TStream stream) - where TStream : Stream + private void send(Fin fin, Opcode opcode, byte[] data) { - WsFrame frame; - PayloadData payloadData; + var payloadData = new PayloadData(data); + var frame = createFrame(fin, opcode, payloadData); + send(frame); + } - byte[] buffer1 = new byte[_fragmentLen]; - byte[] buffer2 = new byte[_fragmentLen]; - ulong readLen = 0; - int tmpLen1 = 0; - int tmpLen2 = 0; + private long sendFragmented(Opcode opcode, Stream stream) + { + var length = stream.Length; + var quo = length / _fragmentLen; + var rem = length % _fragmentLen; + var count = rem == 0 ? quo - 2 : quo - 1; - tmpLen1 = stream.Read(buffer1, 0, _fragmentLen); - while (tmpLen1 > 0) + // First + var buffer = new byte[_fragmentLen]; + long readLen = stream.Read(buffer, 0, _fragmentLen); + send(Fin.MORE, opcode, buffer); + + // Mid + count.Times(() => { - payloadData = new PayloadData(buffer1.SubArray(0, tmpLen1)); + readLen += stream.Read(buffer, 0, _fragmentLen); + send(Fin.MORE, Opcode.CONT, buffer); + }); - tmpLen2 = stream.Read(buffer2, 0, _fragmentLen); - if (tmpLen2 > 0) - { - if (readLen > 0) - { - frame = createFrame(Fin.MORE, Opcode.CONT, payloadData); - } - else - { - frame = createFrame(Fin.MORE, opcode, payloadData); - } - } - else - { - if (readLen > 0) - { - frame = createFrame(Fin.FINAL, Opcode.CONT, payloadData); - } - else - { - frame = createFrame(Fin.FINAL, opcode, payloadData); - } - } - - readLen += (ulong)tmpLen1; - send(frame); - - if (tmpLen2 == 0) break; - payloadData = new PayloadData(buffer2.SubArray(0, tmpLen2)); - - tmpLen1 = stream.Read(buffer1, 0, _fragmentLen); - if (tmpLen1 > 0) - { - frame = createFrame(Fin.MORE, Opcode.CONT, payloadData); - } - else - { - frame = createFrame(Fin.FINAL, Opcode.CONT, payloadData); - } - - readLen += (ulong)tmpLen2; - send(frame); - } + // Final + if (rem != 0) + buffer = new byte[rem]; + readLen += stream.Read(buffer, 0, buffer.Length); + send(Fin.FINAL, Opcode.CONT, buffer); return readLen; } @@ -1049,14 +1015,13 @@ namespace WebSocketSharp public void Send(string data) { - var payloadData = new PayloadData(data); - send(Opcode.TEXT, payloadData); + var buffer = Encoding.UTF8.GetBytes(data); + send(Opcode.TEXT, buffer); } public void Send(byte[] data) { - var payloadData = new PayloadData(data); - send(Opcode.BINARY, payloadData); + send(Opcode.BINARY, data); } public void Send(FileInfo file) diff --git a/websocket-sharp/bin/Debug/websocket-sharp.dll b/websocket-sharp/bin/Debug/websocket-sharp.dll index 76fbec1b..aa088f6a 100755 Binary files a/websocket-sharp/bin/Debug/websocket-sharp.dll and b/websocket-sharp/bin/Debug/websocket-sharp.dll differ diff --git a/websocket-sharp/bin/Debug/websocket-sharp.dll.mdb b/websocket-sharp/bin/Debug/websocket-sharp.dll.mdb index 148adbe7..382294a6 100644 Binary files a/websocket-sharp/bin/Debug/websocket-sharp.dll.mdb and b/websocket-sharp/bin/Debug/websocket-sharp.dll.mdb differ diff --git a/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll b/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll index 313e4ff2..8b2b1859 100755 Binary files a/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll and b/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll differ diff --git a/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll.mdb b/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll.mdb index 8a6bef35..c1a8f453 100644 Binary files a/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll.mdb and b/websocket-sharp/bin/Debug_Ubuntu/websocket-sharp.dll.mdb differ diff --git a/websocket-sharp/bin/Release/websocket-sharp.dll b/websocket-sharp/bin/Release/websocket-sharp.dll index 7f34c1d4..5efc34d6 100755 Binary files a/websocket-sharp/bin/Release/websocket-sharp.dll and b/websocket-sharp/bin/Release/websocket-sharp.dll differ diff --git a/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.dll b/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.dll index 8bca3b44..ae4c86d9 100755 Binary files a/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.dll and b/websocket-sharp/bin/Release_Ubuntu/websocket-sharp.dll differ diff --git a/websocket-sharp/websocket-sharp.pidb b/websocket-sharp/websocket-sharp.pidb index d9dfd344..d32968d6 100644 Binary files a/websocket-sharp/websocket-sharp.pidb and b/websocket-sharp/websocket-sharp.pidb differ