GEODE-3051: Remove unreachable exception handling in AcceptorImpl.accept. This now closes #631
Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/4fddda9e Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/4fddda9e Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/4fddda9e Branch: refs/heads/feature/GEM-1483 Commit: 4fddda9e3983ec582ff6f1acb73e440c4cb8a456 Parents: 950b9eb Author: Alexander Murmann <amurm...@pivotal.io> Authored: Wed Jul 12 17:16:10 2017 -0700 Committer: Udo Kohlmeyer <ukohlme...@pivotal.io> Committed: Fri Jul 14 14:05:41 2017 -0700 ---------------------------------------------------------------------- .../internal/cache/tier/sockets/AcceptorImpl.java | 13 ------------- 1 file changed, 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/4fddda9e/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/AcceptorImpl.java ---------------------------------------------------------------------- diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/AcceptorImpl.java b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/AcceptorImpl.java index 3c424d3..d18fa6a 100755 --- a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/AcceptorImpl.java +++ b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/AcceptorImpl.java @@ -1280,19 +1280,6 @@ public class AcceptorImpl extends Acceptor implements Runnable, CommBufferPool { } } } catch (IOException e) { - if (isRunning()) { - if (e instanceof SSLException) { - try { - // Try to send a proper rejection message - ServerHandShakeProcessor.refuse(s.getOutputStream(), e.toString(), - HandShake.REPLY_EXCEPTION_AUTHENTICATION_FAILED); - } catch (IOException ex) { - if (logger.isDebugEnabled()) { - logger.debug("Bridge server: Unable to write SSL error"); - } - } - } - } closeSocket(s); if (isRunning()) { if (!this.loggedAcceptError) {