summaryrefslogtreecommitdiff
path: root/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as
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 /flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as
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.
Diffstat (limited to 'flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as')
-rw-r--r--flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as1
1 files changed, 1 insertions, 0 deletions
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;
}