Commit 1b15dd8f authored by guus's avatar guus

If something is not supposed to happen, we should be very verbose in case it...

If something is not supposed to happen, we should be very verbose in case it actually does happen! (OF-453)

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12245 b35dd754-fafc-0310-a699-88a17e54d16e
parent 83165b2e
...@@ -22,6 +22,7 @@ package org.jivesoftware.openfire.http; ...@@ -22,6 +22,7 @@ package org.jivesoftware.openfire.http;
import org.jivesoftware.util.JiveConstants; import org.jivesoftware.util.JiveConstants;
import org.eclipse.jetty.continuation.Continuation; import org.eclipse.jetty.continuation.Continuation;
import org.eclipse.jetty.util.log.Log;
import java.security.cert.X509Certificate; import java.security.cert.X509Certificate;
...@@ -71,13 +72,13 @@ public class HttpConnection { ...@@ -71,13 +72,13 @@ public class HttpConnection {
deliverBody(CONNECTION_CLOSED); deliverBody(CONNECTION_CLOSED);
} }
catch (HttpConnectionClosedException e) { catch (HttpConnectionClosedException e) {
/* Shouldn't happen */ Log.warn("Unexpected exception occurred while trying to close an HttpException.", e);
} }
} }
/** /**
* Returns true if this connection has been closed, either a response was delivered to the * Returns true if this connection has been closed, either a response was delivered to the
* client or the server closed the connection aburbtly. * client or the server closed the connection abrubtly.
* *
* @return true if this connection has been closed. * @return true if this connection has been closed.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment