Stateful TCP conversation

"Trustin Lee (이희승)" trustin at gmail.com
Mon Mar 8 04:51:29 EST 2010


Hello Joern,

Joern Barthel wrote:
> Hello list,
> 
> On 06.03.2010, at 23:44, Joern Barthel wrote:
> 
>> This works up to step A'. The packet apparently never arrives at the remote host and Wireshark tells me the packet is an "unreassembled packet (incorrect tcp checksum)". This might be due to checksum offloading (I am testing on local loopback) but right now it's the only clue I got.
> 
> I was able to fix the problem - apparently the ChannelBuffer I used had the wrong endianness. This led to this rather non-obvious bug. If there is any interest in preserving BE as default order in TCP client settings I can probably reproduce the conditions that led to this issue.

Sure.  The byte order of the received / written buffer should not be
changed unless requested explicitly.  If you suspect something in Netty
alters the default byte order, please let us know so that we can fix it.

Thanks,
Trustin

-- 
what we call human nature in actuality is human habit
http://gleamynode.net/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20100308/4557bbc0/attachment-0001.bin 


More information about the netty-users mailing list