Hi,
Have anyone seen similar problem using SSL ? My server uses
SSLReadFilter at front of my own protocol parser and filter. However
my parser and filter were not get called and the client does not get
a reply after sent its first application data packet. I'm using self-signed
certificate on server side and client uses a trust all default TrustManager,
Grizzly 1.8.6.3
Nov 4, 2008 2:57:43 AM com.sun.grizzly.Controller doSelect
FINE: OP_ACCEPT on sun.nio.ch.SelectionKeyImpl_at_716cb7
Nov 4, 2008 2:57:43 AM com.sun.grizzly.Controller doSelect
FINE: OP_READ on sun.nio.ch.SelectionKeyImpl_at_1a61172
Nov 4, 2008 2:57:43 AM com.sun.grizzly.Controller pollContext
FINE: pollContext(..) Context : com.sun.grizzly.Context_at_6ed322
Nov 4, 2008 2:57:45 AM com.sun.grizzly.util.SSLUtils unwrap
FINE: start unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16384
cap=16384] secured: java.nio.HeapByteBuffer[pos=100 lim=20480 cap=20480]
Nov 4, 2008 2:57:45 AM com.sun.grizzly.util.SSLUtils unwrap
FINE: after unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16384
cap=16384] secured: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480]
consumed: 100 produced: 0 status: OK
Nov 4, 2008 2:57:45 AM com.sun.grizzly.util.SSLUtils unwrap
FINE: start unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16384
cap=16384] secured: java.nio.HeapByteBuffer[pos=139 lim=20480 cap=20480]
Nov 4, 2008 2:57:45 AM com.sun.grizzly.util.SSLUtils unwrap
FINE: after unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16384
cap=16384] secured: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480]
consumed: 139 produced: 0 status: OK
Nov 4, 2008 2:57:45 AM com.sun.grizzly.util.SSLUtils unwrap
FINE: start unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16384
cap=16384] secured: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480]
Nov 4, 2008 2:57:45 AM com.sun.grizzly.util.SSLUtils unwrap
FINE: after unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16384
cap=16384] secured: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480]
consumed: 0 p roduced: 0 status: BUFFER_UNDERFLOW
Nov 4, 2008 2:57:45 AM com.sun.grizzly.util.SSLUtils unwrap
.....
Thanks,
Amy