java - Netty 3.2.6 - less readablebytes -


i using 3.2.6 (i know way old current project constraints not allow me upgrade till next 2 months) 1 of server solution. not have control on client.

we have framedecoder in pipeline handle custom message has header , body. 1 of header fields contains length of body. specific message, size of 1076 bytes. while getting message, 1024 bytes (readablebytes()) , hence decoder fails.

i checked wireshark (with suitable dissector protcol). client sends 1076 bytes , puts same value on header. so, client not seem misbehave.

my receive buffer size set higher value following on server bootstrap no apparent effect.

bootstrap.setoption("child.receivebuffersize", 1*1024*1024); 

this seen consistently specific message , other messages (whose sizes range 100 1000 bytes) handled correctly without issues.

please let me know else cause issue , how fix same?


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -