You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Costin Manolache <co...@gmail.com> on 2010/12/08 22:53:44 UTC
tc-native: adding few more features
Hi,
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 ?
Costin