[
https://issues.apache.org/jira/browse/CASSANDRA-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092967#comment-13092967
]
Pavel Yaskevich commented on CASSANDRA-3051:
--------------------------------------------
You misunderstood that, it is not breaking SSL it was just special cased in
FileStreamTask so it wasn't using ssl socket. This patch removes special casing
for SSL streaming by creating ssl socket directly in FileStreamTask if
encryption options were set.
> On Disk Compression breaks SSL Encryption
> -----------------------------------------
>
> Key: CASSANDRA-3051
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3051
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: Trunk
> Reporter: Benjamin Coverston
> Assignee: Pavel Yaskevich
> Fix For: 1.0
>
> Attachments: CASSANDRA-3051.patch
>
>
> Encryption depends on FileStreamTask.write [1] protected member to be called
> because the SSLFileStreamTask.write overrides this to write back to the
> server.
> When enabled, compression circumvents the call and the client does not
> communicate using an SSL socket back to the server.
> [1]
> protected long write(FileChannel fc, Pair<Long, Long> section, long length,
> long bytesTransferred) throws IOException
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira