You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2009/12/10 13:48:12 UTC

svn commit: r889244 - /mina/trunk/core/src/test/java/org/apache/mina/filter/ssl/SslTest.java

Author: elecharny
Date: Thu Dec 10 12:48:11 2009
New Revision: 889244

URL: http://svn.apache.org/viewvc?rev=889244&view=rev
Log:
Replaced the fixed port (5555) with the calculated port for the client initialization

Modified:
    mina/trunk/core/src/test/java/org/apache/mina/filter/ssl/SslTest.java

Modified: mina/trunk/core/src/test/java/org/apache/mina/filter/ssl/SslTest.java
URL: http://svn.apache.org/viewvc/mina/trunk/core/src/test/java/org/apache/mina/filter/ssl/SslTest.java?rev=889244&r1=889243&r2=889244&view=diff
==============================================================================
--- mina/trunk/core/src/test/java/org/apache/mina/filter/ssl/SslTest.java (original)
+++ mina/trunk/core/src/test/java/org/apache/mina/filter/ssl/SslTest.java Thu Dec 10 12:48:11 2009
@@ -108,7 +108,7 @@
 
     private static void connectAndSend() throws Exception {
         Socket parent = new Socket(address, port);
-        Socket socket = factory.createSocket(parent, address.getCanonicalHostName(), 5555, true);
+        Socket socket = factory.createSocket(parent, address.getCanonicalHostName(), port, true);
 
         System.out.println("Client sending: hello");
         socket.getOutputStream().write("hello                      \n".getBytes());