users@grizzly.java.net

problem receiving large size message over SSL

From: Amy Kang <Amy.Kang_at_Sun.COM>
Date: Tue, 24 Mar 2009 13:14:30 -0700

Hi,

When receiving large size message, e.g. 10M (or sometime even smaller
like 10K), over SSL, Grizzly seems silently stops calling my protocol
parser
after iterates a few times with its ByteBuffer state repeately shown in
ProtocolParser.hasNextMessage:

_buffer=java.nio.HeapByteBuffer[pos=16384 lim=33320 cap=33320]

however for TCP, the same code has no problem receiving 10M or
even larger size messages.

(attached logs for SSL case)

Thanks,
amy