Compression not working

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

Moderators: Lapo, Bax

mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

Compression not working

Postby mmilen » 22 Sep 2011, 17:43

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

Postby crino » 20 Oct 2011, 09:29

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: 298
Joined: 09 Nov 2010, 00:48
Contact:

Postby mmilen » 20 Oct 2011, 11:11

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.

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 20 guests