Elffuss BraidHub

kikocis/java-driver public

JAVA-1109: Document SSLOptions changes in upgrade guide.

Also clarify pros/cons of using netty-tcnative.
Changeset2dce578ceea26f21d587147400471455bccb6dbc45c23e59e49c34d571983313
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2016-03-02 13:13 -06:00
Committerolim7t <omichallat+github@gmail.com> · 2016-04-19 12:12 +02:00
Parentsbc738b7e329a

Browse the files at this changeset

3 files changed

modified changelog/README.md +1 −0
@@ -7,6 +7,7 @@
77 - [improvement] JAVA-1151: Fail fast if HdrHistogram is not in the classpath.
88 - [improvement] JAVA-1154: Allow individual Statement to cancel the read timeout.
99 - [bug] JAVA-1074: Fix documentation around default timestamp generator.
10+- [improvement] JAVA-1109: Document SSLOptions changes in upgrade guide.
1011
1112 Merged from 2.1 branch:
1213
modified manual/ssl/README.md +7 −3
@@ -125,8 +125,11 @@
125125 #### Netty
126126
127127 [NettySSLOptions] allows you to use Netty's `SslContext` instead of
128-the JDK directly. The advantage is that Netty can use OpenSSL if
129-available, which provides better performance.
128+the JDK directly. The advantage is that Netty can use OpenSSL directly,
129+which provides better performance and generates less garbage. A disadvantage of
130+using the OpenSSL provider is that it requires platform-specific dependencies,
131+unlike the JDK provider.
132+
130133
131134 ##### Converting your client certificates for OpenSSL
132135
@@ -149,7 +152,8 @@
149152 [these instructions](http://netty.io/wiki/forked-tomcat-native.html) to
150153 add it to your dependencies.
151154
152-Note that using netty-tcnative requires JDK 1.7 or above.
155+Note that using netty-tcnative requires JDK 1.7 or above and requires the
156+presence of OpenSSL on the system. It will not fall back to the JDK implementation.
153157
154158 ##### Configuring the context
155159
modified upgrade_guide/README.md +4 −0
@@ -269,6 +269,10 @@
269269 Again, this is due to the fact that secondary indexes have been completely redesigned
270270 in Cassandra 3.0.
271271
272+29. `SSLOptions` has been refactored to allow the option to choose between JDK and Netty-based
273+ SSL implementations. See [JAVA-841](https://datastax-oss.atlassian.net/browse/JAVA-841) and
274+ the [SSL documentation](../manual/ssl) for more details.
275+
272276
273277 ### 2.1.8
274278