equal
deleted
inserted
replaced
104 |
104 |
105 checkTransfer(serverOut, clientIn); |
105 checkTransfer(serverOut, clientIn); |
106 checkTransfer(clientOut, serverIn); |
106 checkTransfer(clientOut, serverIn); |
107 System.out.println("\tClosing..."); |
107 System.out.println("\tClosing..."); |
108 clientEngine.closeOutbound(); |
108 clientEngine.closeOutbound(); |
|
109 serverEngine.closeOutbound(); |
109 done++; |
110 done++; |
110 continue; |
111 continue; |
111 } |
112 } |
112 } |
113 } |
113 |
|
114 } |
114 } |
115 |
115 |
116 private static boolean isEngineClosed(SSLEngine engine) { |
116 private static boolean isEngineClosed(SSLEngine engine) { |
117 if (engine.isInboundDone()) |
117 if (engine.isInboundDone()) |
118 System.out.println("inbound closed"); |
118 System.out.println("inbound closed"); |