Skip to content

ZOOKEEPER-4453: NettyServerCnxnFactory: allow to configure the early TLS connection drop feature#1800

Closed
eolivelli wants to merge 4 commits intoapache:masterfrom
eolivelli:fix/ZOOKEEPER-4453-b
Closed

ZOOKEEPER-4453: NettyServerCnxnFactory: allow to configure the early TLS connection drop feature#1800
eolivelli wants to merge 4 commits intoapache:masterfrom
eolivelli:fix/ZOOKEEPER-4453-b

Conversation

@eolivelli
Copy link
Copy Markdown
Contributor

see https://issues.apache.org/jira/browse/ZOOKEEPER-4453 for more context

…TLS connection drop feature

- add new flag netty.server.earlyDropSecureConnectionHandshakes to turn on/off ZOOKEEPER-3682
- disable ZOOKEEPER-3682 by default
- add docs
- add tests for this patch and for ZOOKEEPER-3682
@eolivelli
Copy link
Copy Markdown
Contributor Author

I had problems with #1799
This is the same patch

Copy link
Copy Markdown
Contributor

@symat symat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. My only question left is if we should also convert the other "throw new IOException("ZK down");" in NettyServerCnx.receiveMessage() (was around line 477). But I don't think this is crucial, I let you to decide.

@eolivelli
Copy link
Copy Markdown
Contributor Author

But I don't think this is crucial, I let you to decide.
Yes, let's leave that for the future.

@asfgit asfgit closed this in 1cc1eb6 Jan 27, 2022
asfgit pushed a commit that referenced this pull request Jan 27, 2022
…TLS connection drop feature

- add new flag netty.server.earlyDropSecureConnectionHandshakes to turn on/off ZOOKEEPER-3682
- disable ZOOKEEPER-3682 by default
- add docs
- add tests for this patch and for ZOOKEEPER-3682

see https://issues.apache.org/jira/browse/ZOOKEEPER-4453 for more context

Author: Enrico Olivelli <eolivelli@apache.org>

Reviewers: Mate Szalay-Beko <symat@apache.org>

Closes #1800 from eolivelli/fix/ZOOKEEPER-4453-b
@symat
Copy link
Copy Markdown
Contributor

symat commented Jan 27, 2022

Thanks @eolivelli for the fix!
The commit was pushed to master and to branch-3.7, it will be released in 3.7.1 and 3.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants