Author: markt
Date: Tue Mar 8 21:32:58 2011
New Revision: 1079553
URL: http://svn.apache.org/viewvc?rev=1079553&view=rev
Log:
r1079367 was a little too enthusiastic.
The "if (!initialized)" tests weren't required by the init() call are
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java?rev=1079553&r1=1079552&r2=1079553&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
Tue Mar 8 21:32:58 2011
@@ -146,6 +146,7 @@ public class JSSESocketFactory implement
public ServerSocket createSocket (int port)
throws IOException
{
+ init();
ServerSocket socket = sslProxy.createServerSocket(port);
initServerSocket(socket);
return socket;
@@ -155,6 +156,7 @@ public class JSSESocketFactory implement
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 implement
InetAddress ifAddress)
throws IOException
{
+ init();
ServerSocket socket = sslProxy.createServerSocket(port, backlog,
ifAddress);
initServerSocket(socket);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]