UnittWebSocketClient maximum text message size?

7 views
Skip to first unread message

Mike Akers

unread,
Oct 17, 2011, 12:10:44 PM10/17/11
to unitt-project
Moving a discussion from email to this group:

My team is using UnittWebSocketClient to build an app and so far we
really love it! But we recently ran into a problem where when we try
to send a large text message from the server to the device, my code's
didReceiveTextMessage: is never called. The payload is about 1
megabyte. It works in the iOS 5 simulator, but not on the device.

Have you ran into this issue before? Do you know how I can investigate
this further? I'm using the WebSocket08....

Strangely, like i said it works in the sim, and when we restarted the
iPad, things started working... Is there a forum or mailing list where
I can ask about this?

On Oct 16, 2011, at 11:32 PM, Josh Morris wrote:

>> I have not seen this before. Did you get an error from the client? Or did it just go into never-never land?

I don't get an error from the client, it just goes into never never
land. The socket seems to stall completely, since I no longer receive
pings or any subsequent messages in my delegate. We're running on iPad
2s running iOS 5. Today I'll be building UnittWebSocketClient from
source so I can step through it in the debugger and maybe get some
more information.

Mike Akers

unread,
Oct 17, 2011, 4:13:43 PM10/17/11
to unitt-project
I figured it out and now I feel stupid. Turns out we were using an old
version of WebSocketClient from mid september. Upgrading to the latest
version fixed the bug.
Reply all
Reply to author
Forward
0 new messages