From: markt Date: Tue, 8 Mar 2011 21:32:58 +0000 (+0000) Subject: r1079367 was a little too enthusiastic. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fd275f567d4967de1ad2f8b3d34eee775b950961;p=tomcat7.0 r1079367 was a little too enthusiastic. The "if (!initialized)" tests weren't required by the init() call are git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1079553 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java b/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java index 250281a12..cecf04190 100644 --- a/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java +++ b/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java @@ -146,6 +146,7 @@ public class JSSESocketFactory implements ServerSocketFactory, SSLUtil { public ServerSocket createSocket (int port) throws IOException { + init(); ServerSocket socket = sslProxy.createServerSocket(port); initServerSocket(socket); return socket; @@ -155,6 +156,7 @@ public class JSSESocketFactory implements ServerSocketFactory, SSLUtil { public ServerSocket createSocket (int port, int backlog) throws IOException { + init(); ServerSocket socket = sslProxy.createServerSocket(port, backlog); initServerSocket(socket); return socket; @@ -165,6 +167,7 @@ public class JSSESocketFactory implements ServerSocketFactory, SSLUtil { InetAddress ifAddress) throws IOException { + init(); ServerSocket socket = sslProxy.createServerSocket(port, backlog, ifAddress); initServerSocket(socket);