Compression not working

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

Post Reply
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Compression not working

Post by mmilen »

When a packet larger that the threshold is sent to server from client , this error shows on server console :

[SocketReader] protocol.SFSProtocolCodec - Error deserializing request: java.lang.IllegalStateException: Invalid SFSDataType. Expected: 18, found: 120

Any idea what is causing it and when can we expect to be fixed?
crino
Posts: 1
Joined: 22 Jul 2011, 11:11

Post by crino »

i'm getting the same error on iphone client sending 19kb.
already tried to 'disable' threshold with 1024000000 but without success.

Any fix??
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Post by mmilen »

The increase of threshold worked for me. But that is not very good solution as occasionally I need that large packet and it is better to have it zipped.
Post Reply