Is SSLHandler.handshake() required?
"이희승 (Trustin Lee)"
trustin at gmail.com
Mon May 2 08:32:30 EDT 2011
On 01/08/2011 01:53 AM, chudak wrote:
>
> Just another data point...
>
> I have a Jmeter load test client that effectively runs the same pipeline and
> bootstrap as my Android client. The only difference between them is that I
> removed the host/port parameters from the call to SSLContext.getEngine()
> since this code runs in a standard JVM (and I wanted to convince myself it
> is indeed a Harmony issue).
>
> Bottom line: everything works WITHOUT the client or server specifically
> invoking handshake() on the SslHandler on either end in this environment as
> well.
I'm not sure why calling handshake() doesn't work well in Harmony, but
handshake() is often necessary when you want to get notified when
handshake is complete. You can add a listener to the ChannelFuture
returned by handshake().
HTH
--
Trustin Lee, http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20110502/ec35837b/attachment.bin
More information about the netty-users
mailing list