< prev index next >

src/java.httpclient/share/classes/java/net/http/SSLConnection.java

Print this page

        

*** 119,135 **** } return l; } @Override ! void close() { ! try { ! //System.err.println ("Closing: " + this); ! delegate.channel().close(); // TODO: proper close ! } catch (IOException ex) { ! Log.logError(ex.toString()); ! } } @Override protected ByteBuffer readImpl(int length) throws IOException { ByteBuffer buf = sslDelegate.allocate(BufType.PACKET, length); --- 119,130 ---- } return l; } @Override ! public void close() { ! Utils.close(delegate.channel()); } @Override protected ByteBuffer readImpl(int length) throws IOException { ByteBuffer buf = sslDelegate.allocate(BufType.PACKET, length);
< prev index next >