Limit on data received from server and request fails to receive data
Issue #98
closed
It looks like there is a limit on data received from server. In some cases the data is not completely received so the request is failing. I am wondering if there is a tuning change that need to be applied to process a successful request?
Comments (2)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
Hi,
No, there is no limit, but you only get the websocket frames that you read. If you don't get all the data you expect, you are probably in a situation that the server uses continuation frames, i.e. the server splits the message over several frames. You have to read them all. See the explanation in the readme in the paragraph "Fragmentation". As explained there, you can check whether the server is using continuation frames by enabling debug logging.
Hth, Peter