Just browsing through source during the course of my investigation on this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416971

When I find this in jetty source:

    /*
     * @see org.eclipse.jetty.io.bio.StreamEndPoint#shutdownOutput()
     */
    @Override
    public void shutdownOutput() throws IOException
    {
        if (_socket instanceof SSLSocket)
            super.shutdownOutput();
        else
            shutdownSocketOutput();
    }


But as far as I am aware, you cannot do a half close on an SSL Socket?
So am I misunderstanding something here? Wouldn't it just be better to close the socket using _socket.close() instead?

I am referring to this particular information:
http://stackoverflow.com/a/6425509/1682002

Please reference:
http://docs.oracle.com/javase/6/docs/api/java/net/Socket.html#shutdownOutput()
http://docs.oracle.com/javase/6/docs/api/java/net/Socket.html#close()
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to