transfer message size limitation with libpomelo #171

Closed
demilich opened this Issue Mar 31, 2013 · 2 comments

Comments

Projects
None yet
4 participants

When I use libpomelo to receive the message from server, if the message size is not big( less than 400+ bytes), the message can be received correctly. Otherwise, it can not be received correctly. The function has already been tested with web client.

Contributor

zhanghaojie commented Apr 2, 2013

it works fine on ios client.

Contributor

changchang commented Apr 3, 2013

Yeah, it is a bug in decoding the package and is fixed as NetEase/libpomelo@bc0fbe4#L1R170

BTW, there are 3 bytes to keep the package body length in Pomelo protocol. So the package body length limit is 2^24 bytes. It is totally enough for use.

py8765 closed this Sep 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment