summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Madden <jason.madden@nextthought.com>2012-11-01 09:58:04 -0500
committerJason Madden <jason.madden@nextthought.com>2012-11-01 09:58:04 -0500
commit1eb68ad9516a2ee355b4c872d2a6d9766006b5ea (patch)
tree0b941f83e323ee8730c13aa0bba2c2c94714d212
parent7677e7a954561cc44dac7659219bef768c904b62 (diff)
downloadweb-socket-js-1eb68ad9516a2ee355b4c872d2a6d9766006b5ea.tar.gz
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.
-rw-r--r--WebSocketMain.swfbin177114 -> 179852 bytes
-rw-r--r--WebSocketMainInsecure.zipbin170226 -> 172829 bytes
-rw-r--r--flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as1
3 files changed, 1 insertions, 0 deletions
diff --git a/WebSocketMain.swf b/WebSocketMain.swf
index 8174466..ba0fa42 100644
--- a/WebSocketMain.swf
+++ b/WebSocketMain.swf
Binary files differ
diff --git a/WebSocketMainInsecure.zip b/WebSocketMainInsecure.zip
index a11157b..2c04709 100644
--- a/WebSocketMainInsecure.zip
+++ b/WebSocketMainInsecure.zip
Binary files 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;
}