Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ti-websocket-client-diff
#
# なぜか、大きな data を送信しようとすると parse できなくなることがある(逆にそこそこ大きいと成功したりとか)
# ので、length < BUFFER_SIZE の部分はコメントアウトしてみた(hybiの仕様とか見てない)
#
--- ti-websocket-client.org.js 2012-02-08 19:47:03.000000000 +0900
+++ ti-websocket-client.own.js 2012-02-08 19:50:54.000000000 +0900
@@ -872,6 +872,7 @@
type: Ti.Codec.TYPE_BYTE
});
}
+ /*
else if(length < BUFFER_SIZE) { // # write 2 byte length
Ti.Codec.encodeNumber({
source: (126 | 0x80),
@@ -888,6 +889,7 @@
});
outIndex += 2;
}
+ */
else { // # write 8 byte length
Ti.Codec.encodeNumber({
source: (127 | 0x80),
@lavinachitara

100 times Thanks its worked for me :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.