tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <>
Subject tc-native: adding few more features
Date Wed, 08 Dec 2010 21:53:44 GMT

I have few features mostly done - I'm looking to add them in a way that
allows Java code to detect if the
new methods are there and use them, or use the old library if needed.

What I'm trying to add:
- BIO pair mode for SSL - right now we attach to a socket, in BIO pair you
can just inject/extract bytes.

- extra debugging methods for SSL - I'm copying few methods from openssl to
dump the bytes, messages, etc.
It helps a lot when figuring out problems.

- support for few TLS extensions - session ticket ( avoids a roundtrip and
avoids the need for server to cache
sessions ), get/set hostname. The trickiest is the 'next protocol
negotiation' - which only exists in OpenSSL
head, but it's required by protocols like SPDY.

I'm thinking to add them in a new class 'SSLExt' (?), if the class can't be
loaded fall back and not use the features.

Suggestions ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message