gusavila92 / java-android-websocket-client

Java/Android WebSocket Client
Apache License 2.0
148 stars 40 forks source link

Increase message size #1

Closed ABPSoft closed 7 years ago

ABPSoft commented 7 years ago

Hi How can I increase message size on received data? thanks

gusavila92 commented 7 years ago

Hi. What do you mean by increase message size?

ABPSoft commented 7 years ago

When I send message to websocket server, web socket send me a message (reply).

Sometimes that server reply message size is larger than 2 KB, my websocket client not call onMessage event.

gusavila92 commented 7 years ago

It is probably a bug with that exact message. Can you send me the messages that you're trying to send and receive? I will debug the library with those messages.

ABPSoft commented 7 years ago

Server message just is simple string. Simple string which its size is 4 KB

gusavila92 commented 7 years ago

OK. I will try to reproduce your error to see what's going on.

gusavila92 commented 7 years ago

I finally was able to reproduce the error. It has to do with some particular message sizes and data. Please download the version 1.1.3.