From 1eb68ad9516a2ee355b4c872d2a6d9766006b5ea Mon Sep 17 00:00:00 2001 From: Jason Madden Date: Thu, 1 Nov 2012 09:58:04 -0500 Subject: Include the patch from http://code.google.com/p/as3crypto/issues/detail?id=14 to make sending packets greater than 16K possible over SSL. Compile the SWF files with this patch using the flex 4.6 sdk. Tested in IE9 with flashplayer 11.4.402.287 to work. --- WebSocketMain.swf | Bin 177114 -> 179852 bytes WebSocketMainInsecure.zip | Bin 170226 -> 172829 bytes .../com/hurlant/crypto/tls/TLSEngine.as | 1 + 3 files changed, 1 insertion(+) diff --git a/WebSocketMain.swf b/WebSocketMain.swf index 8174466..ba0fa42 100644 Binary files a/WebSocketMain.swf and b/WebSocketMain.swf differ diff --git a/WebSocketMainInsecure.zip b/WebSocketMainInsecure.zip index a11157b..2c04709 100644 Binary files a/WebSocketMainInsecure.zip and b/WebSocketMainInsecure.zip differ diff --git a/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as b/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as index 72f3941..1ae7cad 100644 --- a/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as +++ b/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as @@ -715,6 +715,7 @@ package com.hurlant.crypto.tls { rec.writeBytes(data, offset, 16384); rec.position = 0; sendRecord(PROTOCOL_APPLICATION_DATA, rec); + rec.length = 0; offset += 16384; len -= 16384; } -- cgit v1.2.1